From 1369e94981f9df9379f88f322982ff0466c00579 Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Mon, 17 Feb 2025 09:52:24 +0900 Subject: [PATCH] Rename WebSocketServer mock --- test/watcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/watcher.ts b/test/watcher.ts index b2a65dd2..b5ea611f 100644 --- a/test/watcher.ts +++ b/test/watcher.ts @@ -16,7 +16,7 @@ jest.mock('chokidar', () => ({ })) jest.mock('ws', () => ({ - Server: jest.fn(() => ({ + WebSocketServer: jest.fn(() => ({ clients: [], close: jest.fn((callback) => callback()), on: mockWsOn,