15 lines
307 B
TypeScript
15 lines
307 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['**/__tests__/**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['**/*.ts'],
|
|
exclude: ['**/__tests__/**', '**/dist/**'],
|
|
},
|
|
},
|
|
});
|