Don't collect coverage for development-only pages

This commit is contained in:
Vincent 2022-01-18 14:42:02 +01:00 коммит произвёл Vincent
Родитель 779144f35d
Коммит 07162a86c6
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -30,9 +30,9 @@ module.exports = {
coverageDirectory: "coverage",
// An array of regexp pattern strings used to skip coverage collection
// coveragePathIgnorePatterns: [
// "/node_modules/"
// ],
coveragePathIgnorePatterns: [
"pages/mock/"
],
// Indicates which provider should be used to instrument code for coverage
coverageProvider: "v8",