From 4a564d9f182ad6196496c17c64ed821dd0d58273 Mon Sep 17 00:00:00 2001 From: David Barrat Date: Sun, 5 Jan 2025 04:03:21 +0100 Subject: [PATCH] Update realtime.test.ts --- node/test/realtime.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/node/test/realtime.test.ts b/node/test/realtime.test.ts index f0acc51..00c2e51 100644 --- a/node/test/realtime.test.ts +++ b/node/test/realtime.test.ts @@ -48,7 +48,6 @@ beforeEach(() => { afterEach(() => { vi.restoreAllMocks(); // Resets all mocks - vi.restoreAllMocks(); // Ensure clearInterval is called properly if (mockWebSocket) { mockWebSocket.send.mockReset(); mockWebSocket.close.mockReset();