Ignore coverage folder in the coverage report. (#366)

This commit is contained in:
Robert Dyer
2024-06-04 14:07:55 -05:00
committed by GitHub
parent 2221fd8dff
commit e3934b96dc
2 changed files with 7 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": ["**/*.{js,ts,tsx}"],
"coveragePathIgnorePatterns": ["dist", "/node_modules/", "/build/"],
"coveragePathIgnorePatterns": ["dist", "/node_modules/", "/build/", "/coverage/"],
"coverageReporters": ["html", "lcov", "text", "text-summary"],
"resetMocks": true,
"restoreMocks": true

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [psybers]
---
Ignore coverage folder in the coverage report.