22 lines
454 B
TypeScript
22 lines
454 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'lcov'],
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['src/Globber.ts', 'src/Releases.ts'],
|
|
thresholds: {
|
|
lines: 100,
|
|
functions: 100,
|
|
branches: 95,
|
|
statements: 100,
|
|
},
|
|
},
|
|
},
|
|
})
|