Skip to content

Commit aed1e20

Browse files
committed
chore: add jest coverage threshold
1 parent 2fd962e commit aed1e20

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

jest.config.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
module.exports = {
22
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}'],
33
coverageReporters: ['json', 'lcov', 'text'],
4-
verbose: true
4+
verbose: true,
5+
coverageThreshold: {
6+
global: {
7+
statements: 96,
8+
branches: 90,
9+
functions: 100,
10+
lines: 96
11+
}
12+
}
513
};

0 commit comments

Comments
 (0)