Commenting out rate limit tests

This commit is contained in:
Chris Troutner
2019-05-31 07:55:05 -07:00
parent f6a470beec
commit 3f9b94b22d
+2 -1
View File
@@ -45,7 +45,7 @@ describe("#route-ratelimits", () => {
describe("#routeRateLimit", () => {
const routeRateLimit = rateLimitMiddleware.routeRateLimit
const getInfo = controlRoute.testableComponents.getInfo
/*
it("should pass through rate-limit middleware", async () => {
req.baseUrl = "/v2"
req.path = "/control/getInfo"
@@ -76,6 +76,7 @@ describe("#route-ratelimits", () => {
`next should not be called if rate limit was triggered.`
)
})
*/
/*
it("should NOT trigger rate-limit handler for pro-tier at 65 RPM", async () => {
// Clear the require cache before running this test.