fix(rate-limits): Re-enabling rate-limit unit tests. Setting rate limit to 10 RPM

This commit is contained in:
Chris Troutner
2019-08-10 12:01:16 -07:00
parent 0828c3a2f9
commit bdd0ef17fa
4 changed files with 32 additions and 25 deletions
+2
View File
@@ -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 = {