Skip to content

Commit 31c28d4

Browse files
author
Kent C. Dodds
committed
file-specific coverage rules
1 parent 1e3fb61 commit 31c28d4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

jest.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ module.exports = {
44
coverageThreshold: {
55
global: {
66
statements: 17,
7-
branches: 8,
7+
branches: 4,
88
functions: 20,
99
lines: 17,
1010
},
11+
'./src/utils.js': {
12+
statements: 100,
13+
branches: 80,
14+
functions: 100,
15+
lines: 100,
16+
},
1117
},
1218
projects: [
1319
'./other/jest.lint.js',

0 commit comments

Comments
 (0)