generated from nhcarrigan/template
1f44f2ddd9
Node.js CI / Lint and Test (push) Successful in 37s
Port in some older solutions I've written just to get the structure established and in place.
18 lines
354 B
TypeScript
18 lines
354 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text'],
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['src/**/*.spec.ts'],
|
|
thresholds: {
|
|
statements: 100,
|
|
branches: 100,
|
|
functions: 100,
|
|
lines: 100,
|
|
},
|
|
},
|
|
},
|
|
}) |