Add `coveragePathIgnorePatterns`

This commit is contained in:
Kagami Sascha Rosylight 2023-02-12 07:40:39 +01:00
parent ad0260037c
commit fcf8c6806b
1 changed files with 3 additions and 3 deletions

View File

@ -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",