fix(web): add jsdom dependency and exclude e2e from vitest
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

- Add missing jsdom dev dependency for vitest jsdom environment
- Exclude e2e/ directory from vitest (Playwright tests run separately)
- Fixes CI test step failure on pipeline #163

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 15:00:05 -05:00
parent cd57c75e41
commit fa717999d9
3 changed files with 338 additions and 25 deletions

View File

@@ -27,6 +27,7 @@
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"jsdom": "^29.0.0",
"tailwindcss": "^4.0.0",
"typescript": "^5.8.0",
"vitest": "^2.0.0"

View File

@@ -4,5 +4,6 @@ export default defineConfig({
test: {
globals: true,
environment: 'jsdom',
exclude: ['e2e/**', 'node_modules/**'],
},
});