Skip to content

Commit 95b67af

Browse files
committed
fix(test): adds DASHBOARD_STORAGE_KEY to auth mock
1 parent f33735e commit 95b67af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/components/DashboardPage.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ vi.mock("../../src/app/stores/auth", () => ({
2929
user: () => ({ login: "testuser", avatar_url: "", name: "Test User" }),
3030
isAuthenticated: () => true,
3131
onAuthCleared: vi.fn((cb: () => void) => { authClearCallbacks.push(cb); }),
32+
DASHBOARD_STORAGE_KEY: "github-tracker:dashboard",
3233
}));
3334

3435
// Mock github service (used by Header)

0 commit comments

Comments
 (0)