| 123456789101112131415161718192021222324252627 |
- import { defineConfig } from 'vitest/config';
- export default defineConfig({
- test: {
- dir: './tests/unit',
- environment: 'node',
- coverage: {
- provider: 'v8',
- reporter: ['text', 'json', 'html'],
- statements: 80,
- branches: 80,
- functions: 80,
- lines: 80,
- exclude: [
- 'node_modules/',
- 'tests/',
- '**/*.test.ts',
- '**/*.spec.ts',
- 'dist/',
- '**/*.d.ts',
- 'vitest.config.ts'
- ]
- },
- testTimeout: 10000,
- globals: false
- }
- });
|