Skip to content

Commit 84fa622

Browse files
Apply suggestions from code review
Co-authored-by: Jonathan Gramain <[email protected]>
1 parent ce7fa89 commit 84fa622

File tree

1 file changed

+2
-2
lines changed
  • tests/unit/api/apiUtils/rateLimit

1 file changed

+2
-2
lines changed

tests/unit/api/apiUtils/rateLimit/cache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ const {
1414
} = require('../../../../../lib/api/apiUtils/rateLimit/cache');
1515

1616
describe('test counter storage', () => {
17-
it('should set a counter', () => {
17+
it('setCounter() should set a counter', () => {
1818
setCounter('foo', 10);
1919
assert.strictEqual(counters.get('foo'), 10);
2020
});
2121

22-
it('should get a counter', () => {
22+
it('getCounter() should get a counter', () => {
2323
setCounter('foo', 10);
2424
assert.strictEqual(getCounter('foo'), 10);
2525
});

0 commit comments

Comments
 (0)