meteor/meteor

View on GitHub
packages/rate-limit/rate-limit-tests.js

Summary

Maintainability
A
2 hrs
Test Coverage

File rate-limit-tests.js has 285 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// These tests were written before rate-limit was factored outside of DDP Rate
// Limiter and thus are structured with DDP method invocations in mind. These
// rules still test abstract rate limit package behavior. The tests currently
// implemented are:
// * Empty rule set on RateLimiter construction
Severity: Minor
Found in packages/rate-limit/rate-limit-tests.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status