Skip to content

Commit 7caf4d8

Browse files
committed
teardown tasks for express tests
1 parent 72ef8cd commit 7caf4d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/middleware/express.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ xdescribe('Express Middleware tests', () => {
179179

180180
afterAll(() => {
181181
jest.useRealTimers();
182+
jest.clearAllTimers();
183+
jest.clearAllMocks();
182184
});
183185

184186
beforeEach(() => {

0 commit comments

Comments
 (0)