17 lines
410 B
TypeScript
17 lines
410 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['tests/unit/**/*.test.ts', 'tests/integration/**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'html'],
|
|
exclude: ['node_modules/', 'dist/', 'tests/fixtures/']
|
|
},
|
|
testTimeout: 30000,
|
|
hookTimeout: 30000
|
|
}
|
|
});
|