14 lines
327 B
TypeScript
14 lines
327 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/**'],
|
|
},
|
|
},
|
|
});
|