15 lines
361 B
TypeScript
15 lines
361 B
TypeScript
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'],
|
|
testTimeout: 10000,
|
|
},
|
|
});
|