test: update tests

This commit is contained in:
Xiao Yijun 2025-07-23 07:57:21 +08:00
commit f6c9342678
No known key found for this signature in database
GPG key ID: 6F648FC1262DB420

View file

@ -82,6 +82,8 @@ jest.mock("../../auth", () => ({
InspectorOAuthClientProvider: jest.fn().mockImplementation(() => ({
tokens: jest.fn().mockResolvedValue({ access_token: "mock-token" }),
})),
clearClientInformationFromSessionStorage: jest.fn(),
saveClientInformationToSessionStorage: jest.fn(),
}));
describe("useConnection", () => {