15 lines
370 B
TypeScript
15 lines
370 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['__tests__/**/*.test.ts'],
|
|
coverage: {
|
|
include: ['src/**/*.ts'], // Only target the src directory
|
|
exclude: ['lib/**'], // Exclude the lib directory
|
|
reporter: ['text', 'json', 'html', 'lcov']
|
|
}
|
|
}
|
|
})
|