15 lines
304 B
TypeScript
15 lines
304 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', '!src/**/*.d.ts'],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|