Example 8074
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: "istanbul"
thresholds: {
lines: 88
branches: 79
functions: 70
}
reporter: [
"text"
"lcov"
"html"
]
}
globals: false
timeout: 17456 # ms
}