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