From f012282a4189c3da3522b95ec148ad2228f4a74d Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Mon, 8 May 2023 19:02:29 +0200 Subject: [PATCH] fix: restore of test state Signed-off-by: Tilman Vatteroth --- backend/src/realtime/realtime-note/realtime-connection.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/realtime/realtime-note/realtime-connection.spec.ts b/backend/src/realtime/realtime-note/realtime-connection.spec.ts index 167c611ee..181a90dda 100644 --- a/backend/src/realtime/realtime-note/realtime-connection.spec.ts +++ b/backend/src/realtime/realtime-note/realtime-connection.spec.ts @@ -43,7 +43,7 @@ describe('websocket connection', () => { mockedMessageTransporter = new MockedBackendMessageTransporter(''); }); - afterAll(() => { + afterEach(() => { jest.resetAllMocks(); jest.resetModules(); });