fix timer leak in SkRateLimiterService
This commit is contained in:
parent
f6e1b40fd8
commit
0f2e809229
2 changed files with 6 additions and 0 deletions
|
|
@ -67,6 +67,10 @@ describe(SkRateLimiterService, () => {
|
|||
mockEnvService.env.NODE_ENV = 'production';
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
serviceUnderTest().dispose();
|
||||
});
|
||||
|
||||
describe('limit', () => {
|
||||
const actor = 'actor';
|
||||
const key = 'test';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue