Add `coveragePathIgnorePatterns`
This commit is contained in:
parent
ad0260037c
commit
fcf8c6806b
|
@ -26,9 +26,9 @@ module.exports = {
|
||||||
coverageDirectory: "coverage",
|
coverageDirectory: "coverage",
|
||||||
|
|
||||||
// An array of regexp pattern strings used to skip coverage collection
|
// An array of regexp pattern strings used to skip coverage collection
|
||||||
// coveragePathIgnorePatterns: [
|
coveragePathIgnorePatterns: [
|
||||||
// "\\\\node_modules\\\\"
|
"/node_modules/",
|
||||||
// ],
|
],
|
||||||
|
|
||||||
// Indicates which provider should be used to instrument code for coverage
|
// Indicates which provider should be used to instrument code for coverage
|
||||||
coverageProvider: "v8",
|
coverageProvider: "v8",
|
||||||
|
|
Loading…
Reference in New Issue