From da1e3caf95bf5340ec2d98b51c1579f5fbf82986 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 27 Jul 2025 14:02:38 -0700 Subject: [PATCH] test: fix leak in test --- src/test-helpers/__tests__/testServiceContainer.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test-helpers/__tests__/testServiceContainer.test.ts b/src/test-helpers/__tests__/testServiceContainer.test.ts index 955ed438b..e30b20ffb 100644 --- a/src/test-helpers/__tests__/testServiceContainer.test.ts +++ b/src/test-helpers/__tests__/testServiceContainer.test.ts @@ -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();