fix(web): update useWebSocket test to expect withCredentials option
All checks were successful
ci/woodpecker/push/web Pipeline was successful

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 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 05:43:57 -06:00
parent c0e679ab7c
commit 6335fbf2a4

View File

@@ -47,6 +47,7 @@ describe("useWebSocket", (): void => {
expect(io).toHaveBeenCalledWith(expect.any(String), {
auth: { token },
query: { workspaceId },
withCredentials: true,
});
});