aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/stores/sync.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/stores/sync.test.tsx')
-rw-r--r--src/client/stores/sync.test.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/stores/sync.test.tsx b/src/client/stores/sync.test.tsx
index fee79d7..20de69d 100644
--- a/src/client/stores/sync.test.tsx
+++ b/src/client/stores/sync.test.tsx
@@ -16,6 +16,9 @@ global.fetch = mockFetch;
vi.mock("../api/client", () => ({
apiClient: {
getAuthHeader: vi.fn(() => ({ Authorization: "Bearer token" })),
+ authenticatedFetch: vi.fn((input: RequestInfo | URL, init?: RequestInit) =>
+ mockFetch(input, init),
+ ),
},
}));