Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nfriedly committed Jul 1, 2021
1 parent 9e9852a commit a137a45
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/express-rate-limit-test.js
Expand Up @@ -455,7 +455,10 @@ describe("express-rate-limit node module", () => {

await request(app).get("/bad_response_status").expect(403);

assert(!store.decrement_was_called, "decrement was not called on the store");
assert(
!store.decrement_was_called,
"decrement was not called on the store"
);
});

it("should decrement hits with success response with custom 'requestWasSuccessful' option based on query parameter", async () => {
Expand Down Expand Up @@ -489,7 +492,10 @@ describe("express-rate-limit node module", () => {

await request(app).get("/?success=0");

assert(!store.decrement_was_called, "decrement was not called on the store");
assert(
!store.decrement_was_called,
"decrement was not called on the store"
);
});

it("should decrement hits with failed response and skipFailedRequests", async () => {
Expand Down

0 comments on commit a137a45

Please sign in to comment.