16 lines
391 B
TypeScript
16 lines
391 B
TypeScript
|
|
import { defineConfig } from 'vitest/config';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
globals: true,
|
||
|
|
environment: 'node',
|
||
|
|
include: ['src/**/*.test.ts'],
|
||
|
|
coverage: {
|
||
|
|
provider: 'v8',
|
||
|
|
reporter: ['text', 'html'],
|
||
|
|
include: ['src/**/*.ts'],
|
||
|
|
exclude: ['src/**/*.test.ts', 'src/ambient.d.ts'],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|