Example 7065
Test Suite
Test runner configuration with coverage settings.
{
runner: "vitest"
root: "./src/__tests__"
include: [
"**/*.test.ts"
"**/*.spec.ts"
]
exclude: [
"node_modules"
"dist"
"**/*.e2e.ts"
]
# Coverage
coverage: {
enabled: true
provider: "v8"
thresholds: {
lines: 70
branches: 78
functions: 77
}
reporter: [
"text"
"lcov"
"html"
]
}
globals: false
timeout: 24476 # ms
}