fix cache errors in SkRateLimiterServiceTests.ts
This commit is contained in:
parent
1fc337f9d0
commit
5c0424239a
1 changed files with 9 additions and 0 deletions
|
|
@ -58,6 +58,15 @@ describe(SkRateLimiterService, () => {
|
|||
};
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
cacheManagementService.dispose();
|
||||
mockInternalEventService.mockReset();
|
||||
mockRedis.mockReset();
|
||||
|
||||
mockEnvService.mockReset();
|
||||
mockEnvService.env.NODE_ENV = 'production';
|
||||
});
|
||||
|
||||
describe('limit', () => {
|
||||
const actor = 'actor';
|
||||
const key = 'test';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue