mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
Merge branch 'main' into feature/database-integration
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user