This commit is contained in:
2025-11-26 17:03:29 +01:00
parent ff3528e5ef
commit fef75008d8
147 changed files with 112370 additions and 5162 deletions

View File

@@ -9,9 +9,13 @@ export default defineConfig({
},
test: {
globals: true,
environment: 'node',
include: ['tests/**/*.test.ts'],
environment: 'jsdom',
setupFiles: ['./tests/setup.ts'],
include: ['tests/**/*.test.ts', 'tests/**/*.test.tsx'],
exclude: ['tests/e2e/**/*'],
env: {
NODE_ENV: 'test',
},
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
@@ -34,6 +38,9 @@ export const e2eConfig = defineConfig({
globals: true,
environment: 'node',
include: ['tests/e2e/**/*.e2e.test.ts'],
env: {
NODE_ENV: 'test',
},
// E2E tests need longer timeouts due to browser operations
testTimeout: 120000,
hookTimeout: 60000,