Skip to content

Commit

Permalink
Add coverageTheshold to jest.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ttsukagoshi committed Sep 19, 2023
1 parent d40ab4e commit c38d78d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ export default {
coverageDirectory: 'coverage',
// Indicates which provider should be used to instrument code for coverage
coverageProvider: 'v8',
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
extensionsToTreatAsEsm: ['.ts'],
moduleFileExtensions: ['ts', 'js', 'mjs', 'json'],
testEnvironment: 'node',
Expand Down

0 comments on commit c38d78d

Please sign in to comment.