vitest.config.ts14 lines · main
| 1 | import { defineConfig } from 'vitest/config' |
| 2 | |
| 3 | export default defineConfig({ |
| 4 | test: { |
| 5 | environment: 'jsdom', |
| 6 | setupFiles: ['./vitest.setup.ts'], |
| 7 | reporters: [['default']], |
| 8 | coverage: { |
| 9 | reporter: ['lcov'], |
| 10 | exclude: ['**/*.test.ts', '**/*.test.tsx'], |
| 11 | include: ['src/**/*.ts', 'src/**/*.tsx'], |
| 12 | }, |
| 13 | }, |
| 14 | }) |