commit
32a36cceff
444 files changed
+67186
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'node',
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'html', 'json'],
|
||||
exclude: ['node_modules/', 'database/migrations/', '**/*.test.js', '**/__tests__/**'],
|
||||
},
|
||||
testTimeout: 10000,
|
||||
// Run tests serially to avoid database connection conflicts
|
||||
pool: 'forks',
|
||||
poolOptions: {
|
||||
forks: {
|
||||
singleFork: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user