tests(ws): fix tests (#9520)

This commit is contained in:
DD
2023-05-05 23:01:28 +03:00
committed by GitHub
parent e53b94c979
commit 3e80f0b384
2 changed files with 12 additions and 8 deletions

View File

@@ -146,9 +146,9 @@ beforeEach(() => {
});
afterEach(() => {
mockConstructor.mockRestore();
mockSend.mockRestore();
mockTerminate.mockRestore();
mockConstructor.mockClear();
mockSend.mockClear();
mockTerminate.mockClear();
});
test('spawn, connect, send a message, session info, and destroy', async () => {