Skip to content

Commit f6c9342

Browse files
committed
test: update tests
1 parent 3c601ab commit f6c9342

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/src/lib/hooks/__tests__/useConnection.test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ jest.mock("../../auth", () => ({
8282
InspectorOAuthClientProvider: jest.fn().mockImplementation(() => ({
8383
tokens: jest.fn().mockResolvedValue({ access_token: "mock-token" }),
8484
})),
85+
clearClientInformationFromSessionStorage: jest.fn(),
86+
saveClientInformationToSessionStorage: jest.fn(),
8587
}));
8688

8789
describe("useConnection", () => {

0 commit comments

Comments
 (0)