Add coveragePathIgnorePatterns

This commit is contained in:
Kagami Sascha Rosylight 2023-02-12 07:40:39 +01:00
parent ad0260037c
commit fcf8c6806b

View file

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