15 lines
360 B
TypeScript
15 lines
360 B
TypeScript
|
|
import { defineConfig } from 'vitest/config';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
globals: true,
|
||
|
|
environment: 'node',
|
||
|
|
include: ['src/**/*.spec.ts', 'src/**/*.test.ts'],
|
||
|
|
coverage: {
|
||
|
|
provider: 'v8',
|
||
|
|
reporter: ['text', 'lcov'],
|
||
|
|
exclude: ['**/dist/**', '**/node_modules/**', '**/*.entity.ts', '**/*.dto.ts'],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|