From 391f4cc50d6e842b7e4469e473e8fcf15f2364d3 Mon Sep 17 00:00:00 2001 From: sethkfman Date: Tue, 15 Aug 2023 16:31:43 -0600 Subject: [PATCH] added exclusions for mocks, util/test, util/testUtils --- jest.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jest.config.js b/jest.config.js index cce8f37ce09..e0edb537fbf 100644 --- a/jest.config.js +++ b/jest.config.js @@ -16,6 +16,11 @@ const config = { // This is an environment variable that can be used to execute logic only in development collectCoverage: process.env.NODE_ENV !== 'production', collectCoverageFrom: ['/app/**/*.{js,ts,tsx,jsx}'], + coveragePathIgnorePatterns: [ + '__mocks__/', + '/app/util/test/', + '/app/util/testUtils/', + ], coverageThreshold: { //Code coverage thresholds for jest testing pass/fail global: {