Example 11972

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: 84
branches: 83
functions: 83
}
reporter: [
"text"
"lcov"
"html"
]
}
globals: false
timeout: 24569 # ms
}

See also