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