mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
25 lines
433 B
TypeScript
25 lines
433 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
coverage: {
|
|
thresholds: {
|
|
autoUpdate: true,
|
|
|
|
// Global ones
|
|
lines: 0.1,
|
|
functions: 0.2,
|
|
branches: -1000,
|
|
statements: -2000,
|
|
|
|
'**/src/math.ts': {
|
|
branches: 0.1,
|
|
functions: 0.2,
|
|
lines: -1000,
|
|
statements: -2000,
|
|
}
|
|
}
|
|
}
|
|
},
|
|
})
|