fix: restore of test state

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-05-08 19:02:29 +02:00
parent 02a3b7f07b
commit f012282a41

View file

@ -43,7 +43,7 @@ describe('websocket connection', () => {
mockedMessageTransporter = new MockedBackendMessageTransporter(''); mockedMessageTransporter = new MockedBackendMessageTransporter('');
}); });
afterAll(() => { afterEach(() => {
jest.resetAllMocks(); jest.resetAllMocks();
jest.resetModules(); jest.resetModules();
}); });