test: fix leak in test

This commit is contained in:
Nate 2025-07-27 14:02:38 -07:00
parent 3d88da3cce
commit da1e3caf95

View file

@ -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();