hapi-rate-limit icon indicating copy to clipboard operation
hapi-rate-limit copied to clipboard

Allow resetting of rate limit for testing

Open antony opened this issue 3 years ago • 0 comments

When writing tests which trigger a rate limit, any other tests which then call the endpoint will fail, because the rate limit takes 60 seconds to reset.

It would be useful if there was a way to reset the rate limit after tests have run for a specified endpoint

antony avatar Oct 07 '20 15:10 antony