fix: tests

This commit is contained in:
Arman
2024-09-09 18:04:06 +02:00
parent 8749248f2c
commit a370dff546
+2 -1
View File
@@ -6,7 +6,8 @@ beforeAll(() => {
browser: true
}));
vi.mock('$app/navigation', () => ({
goto: vi.fn()
goto: vi.fn();
beforeNavigate: vi.fn();
}));
vi.mock('$app/environment', () => ({
dev: true,