Skip to content

Commit

Permalink
Initial threshold (#492)
Browse files Browse the repository at this point in the history
* Initial threshold

* Update jest.config.ts
  • Loading branch information
erin-at-work authored Apr 28, 2022
1 parent fc8fc7d commit 271ca80
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,14 @@ export default {
// A list of reporter names that Jest uses when writing coverage reports
coverageReporters: ["json", "text", "text-summary", "lcov"],

// An object that configures minimum threshold enforcement for coverage results
// coverageThreshold: undefined,
// TODO: Increase threshold as additional tests are added
coverageThreshold: {
global: {
branches: 18.22,
functions: 9.05,
statements: 9.43
}
},

// A set of global variables that need to be available in all test environments
// globals: {},
Expand Down

0 comments on commit 271ca80

Please sign in to comment.