fix(web): update useWebSocket test for withCredentials (#548)
All checks were successful
ci/woodpecker/push/web Pipeline was successful
All checks were successful
ci/woodpecker/push/web Pipeline was successful
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #548.
This commit is contained in:
@@ -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