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: {