fix e2e: update auth route mocks and config for Better Auth

This commit is contained in:
Barcode Betty
2026-04-15 21:18:45 +00:00
parent 3a67b26e1f
commit a55c64a9c8
4 changed files with 14 additions and 24 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { test, expect } from './fixtures';
import { test, expect, mockAuthRoutes } from './fixtures';
test('app loads', async ({ page }) => {
mockAuthRoutes(page, false);
await page.goto('/');
// Unauthenticated users are redirected to /login
await expect(page).toHaveURL(/\/login/);