Add mock API server for Playwright tests

This commit is contained in:
Aaron
2026-01-03 11:49:41 -05:00
parent 453deac601
commit 511978666a
2 changed files with 86 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ export default defineConfig({
trace: 'retain-on-failure',
},
webServer: {
command: 'npm run dev',
command: 'node tests/mock-api.js & npm run dev',
url: BASE_URL,
reuseExistingServer: !process.env.CI,
stdout: 'pipe',