test: fix leak in test
This commit is contained in:
parent
3d88da3cce
commit
da1e3caf95
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
|||
import { jest } from "@jest/globals";
|
||||
import { createTestServiceContainer } from '../testServiceContainer.js';
|
||||
|
||||
describe('TestServiceContainer', () => {
|
||||
afterEach(() => {
|
||||
jest.clearAllTimers();
|
||||
});
|
||||
it('should create a container with extended methods', () => {
|
||||
const container = createTestServiceContainer();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue