Example 3172
Test Suite
Test runner configuration with coverage settings.
{
runner: "mocha"
root: "./tests"
include: [
"**/*.test.ts"
"**/*.spec.ts"
]
exclude: [
"node_modules"
"dist"
"**/*.e2e.ts"
]
# Coverage
coverage: {
enabled: true
provider: "c8"
thresholds: {
lines: 95
branches: 82
functions: 71
}
reporter: [
"text"
"lcov"
"html"
]
}
globals: false
timeout: 11203 # ms
}