Merge branch 'main' into feature/database-integration

This commit is contained in:
GitHub Copilot
2025-05-06 10:08:15 +00:00
16 changed files with 1052 additions and 1001 deletions

View File

@@ -1,11 +1,17 @@
/// <reference types="vitest" />
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [react()],
test: {
// Increase timeout for slower CI environments
testTimeout: 10000,
// Use the setup file we created
// Ensure non-interactive and CI-friendly configuration
watch: false,
silent: false,
passWithNoTests: true,
teardownTimeout: 5000,
// Testing environment setup
environment: 'jsdom',
setupFiles: ['./src/test/setup.ts'],
// Ensure we're using the right environment
environment: 'node',
@@ -17,5 +23,7 @@ export default defineConfig({
reporter: ['text', 'json', 'html'],
exclude: ['node_modules/', 'src/test/**/*', '**/*.d.ts'],
},
// Global settings
globals: true,
},
});