From 6335fbf2a40a7a19e0231c88ee4a39dd58ee491b Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Fri, 27 Feb 2026 05:43:57 -0600 Subject: [PATCH] fix(web): update useWebSocket test to expect withCredentials option PR #547 added withCredentials: true to the socket.io connection options but the test assertion was not updated, causing CI failure. Co-Authored-By: Claude Opus 4.6 --- apps/web/src/hooks/useWebSocket.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/hooks/useWebSocket.test.tsx b/apps/web/src/hooks/useWebSocket.test.tsx index 242e0f9..3954bd0 100644 --- a/apps/web/src/hooks/useWebSocket.test.tsx +++ b/apps/web/src/hooks/useWebSocket.test.tsx @@ -47,6 +47,7 @@ describe("useWebSocket", (): void => { expect(io).toHaveBeenCalledWith(expect.any(String), { auth: { token }, query: { workspaceId }, + withCredentials: true, }); });