From e3934b96dc83262652d1dab26e8caa559b791fa8 Mon Sep 17 00:00:00 2001 From: Robert Dyer Date: Tue, 4 Jun 2024 14:07:55 -0500 Subject: [PATCH] Ignore coverage folder in the coverage report. (#366) --- jest.config.json | 2 +- upcoming-release-notes/366.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 upcoming-release-notes/366.md diff --git a/jest.config.json b/jest.config.json index 95fb27235..f33061a9d 100644 --- a/jest.config.json +++ b/jest.config.json @@ -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 diff --git a/upcoming-release-notes/366.md b/upcoming-release-notes/366.md new file mode 100644 index 000000000..df34cd6d5 --- /dev/null +++ b/upcoming-release-notes/366.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [psybers] +--- + +Ignore coverage folder in the coverage report.