mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 17:22:04 -07:00
fix(rate-limits): Re-enabling rate-limit unit tests. Setting rate limit to 10 RPM
This commit is contained in:
@@ -79,6 +79,8 @@ const mockRes = {
|
||||
format: sinon.stub().returns({})
|
||||
}
|
||||
|
||||
// Dev-Note on Rate Limits: Since next() is mocked, I can call the Sinon untility
|
||||
// functions on it, like called(), to see if this stub was called.
|
||||
const mockNext = sinon.stub().returns()
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user