Istanbul
Istanbul, a JavaScript code coverage tool
| Type | object |
|---|---|
| File match |
.nycrc
.nycrc.json
.nycrc.yaml
.nycrc.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/istanbul/latest.json |
| Source | https://www.schemastore.org/nycrc.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
extends
string
Name of configuration to extend from.
all
boolean
Whether or not to instrument all files (not just the ones touched by your test suite).
check-coverage
boolean
Check whether coverage is within thresholds, fail if not
extension
string[]
List of extensions that nyc should attempt to handle in addition to .js
[
".js",
".cjs",
".mjs",
".ts",
".tsx",
".jsx"
]
include
string[]
List of files to include for coverage.
[
"**"
]
exclude
string[]
List of files to exclude for coverage.
[
"coverage/**"
]
reporter
string[]
The names of custom reporter to show coverage results.
[
"text"
]
report-dir
string
Where to put the coverage report files.
skip-full
boolean
Don't show files with 100% statement, branch, and function coverage
temp-dir
string
Directory to output raw coverage information to.