2018-06-18 18:36:48 +00:00
|
|
|
{
|
|
|
|
"//": "todo: enable caching. There are too many other issues to verify that",
|
|
|
|
"//": "caching works correctly.",
|
|
|
|
"cache": false,
|
|
|
|
|
|
|
|
"//": "todo: check coverage on all files not just those included in tests.",
|
|
|
|
"//": "Enable when",
|
|
|
|
"//": "https://github.com/istanbuljs/nyc/issues/537#issuecomment-390814662",
|
|
|
|
"//": "is fixed.",
|
|
|
|
"all": false,
|
|
|
|
|
|
|
|
"//": "Ignore files in vendor/, resources/, and elsewhere.",
|
|
|
|
"include": [ "src/**/*.js" ],
|
|
|
|
|
|
|
|
"//": "Set the coverage percentage by category thresholds.",
|
2023-05-12 20:26:59 +00:00
|
|
|
"statements": 80,
|
2023-09-27 15:46:39 +00:00
|
|
|
"branches": 68,
|
2023-05-12 20:26:59 +00:00
|
|
|
"functions": 80,
|
2018-06-18 18:36:48 +00:00
|
|
|
"lines": 90,
|
|
|
|
|
|
|
|
"//": "Fail if the coverage is below threshold.",
|
|
|
|
"check-coverage": true,
|
|
|
|
|
|
|
|
"//": "Work around source maps being included ",
|
|
|
|
"//": "https://github.com/istanbuljs/nyc/issues/847:",
|
2023-04-03 21:04:09 +00:00
|
|
|
"//": " Error: ENAMETOOLONG: name too long, open '.../vagrant/mediawiki/extensions/Popups/src/data:application/json;...'",
|
2018-06-18 18:36:48 +00:00
|
|
|
"//": "Unfortunately, the reported line numbers appear to be",
|
|
|
|
"//": "nondeterministic across runs when all is enabled and incorrect when",
|
|
|
|
"//": "disabled.",
|
|
|
|
"sourceMap": false
|
|
|
|
}
|