fix(web): update useWebSocket test for withCredentials #548
@@ -47,6 +47,7 @@ describe("useWebSocket", (): void => {
|
|||||||
expect(io).toHaveBeenCalledWith(expect.any(String), {
|
expect(io).toHaveBeenCalledWith(expect.any(String), {
|
||||||
auth: { token },
|
auth: { token },
|
||||||
query: { workspaceId },
|
query: { workspaceId },
|
||||||
|
withCredentials: true,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user