Ghost/ghost/limit-service/test
Naz f0a5fc975c Fixed error "swallowing"
no issue

- I've discovered the "IncorrectUsageError" error was silently swallowed and the method returned a false positibe when an allowlist limit type was called with incorrect parameters
- In cases like this it's best to surface the real error early otherwise the logic might produce unsafe results!
2021-05-21 14:02:35 +04:00
..
fixtures Removed ghost-ignition's errors dependency 2021-04-05 16:17:57 +12:00
utils Added limit service initial commit 2021-03-03 12:19:48 +00:00
.eslintrc.js Added limit service initial commit 2021-03-03 12:19:48 +00:00
date-utils.test.js Removed date-fns dev dependency 2021-05-07 14:56:40 +04:00
limit-service.test.js Fixed error "swallowing" 2021-05-21 14:02:35 +04:00
limit.test.js Added addedCount to max and maxPeriodic limits 2021-05-07 18:13:01 +04:00