Skip to content

Commit

Permalink
added exclusions for mocks, util/test, util/testUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
sethkfman committed Aug 15, 2023
1 parent cd84f6e commit 391f4cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: ['<rootDir>/app/**/*.{js,ts,tsx,jsx}'],
coveragePathIgnorePatterns: [
'__mocks__/',
'<rootDir>/app/util/test/',
'<rootDir>/app/util/testUtils/',
],
coverageThreshold: {
//Code coverage thresholds for jest testing pass/fail
global: {
Expand Down

0 comments on commit 391f4cc

Please sign in to comment.