2026-02-21 03:10:39 +00:00
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
test: {
|
|
|
|
|
globals: true,
|
|
|
|
|
coverage: {
|
|
|
|
|
provider: 'v8',
|
|
|
|
|
reporter: ['text', 'json', 'html'],
|
|
|
|
|
exclude: ['**/node_modules/**', '**/dist/**', '**/*.config.*'],
|
|
|
|
|
},
|
|
|
|
|
include: ['src/*/tests/**/*.test.ts', 'tests/**/*.test.ts'],
|
2026-03-03 19:07:39 +00:00
|
|
|
exclude: ['**/node_modules/**', '**/smoke/**'],
|
2026-02-21 03:10:39 +00:00
|
|
|
testTimeout: 10000,
|
2026-03-03 19:07:39 +00:00
|
|
|
globalSetup: ['src/db/tests/global-setup.ts'],
|
2026-02-21 03:10:39 +00:00
|
|
|
},
|
|
|
|
|
});
|