Example 10078

Test Suite

Test runner configuration with coverage settings.

{
runner: "jest"
root: "./tests"
include: [
"**/*.test.ts"
"**/*.spec.ts"
]
exclude: [
"node_modules"
"dist"
"**/*.e2e.ts"
]

# Coverage
coverage: {
enabled: true
provider: "istanbul"
thresholds: {
lines: 80
branches: 86
functions: 91
}
reporter: [
"text"
"lcov"
"html"
]
}
globals: true
timeout: 17201 # ms
}

See also