packages/rate-limit/rate-limit-tests.js
File rate-limit-tests.js
has 285 lines of code (exceeds 250 allowed). Consider refactoring. Open
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