Skip to content

Commit 3b3bdb7

Browse files
committed
Lower jest threshold - allow error handling
\### Rationale 100% thresholds across code is unreasonable when there should be some error handling within the plugin. This is so when eslint changes its interpretation of syntax or a user provides something weird/unexpected the plugin doesn't cause `eslint` to crash.
1 parent 8c1a4bc commit 3b3bdb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jest.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ module.exports = {
44
preset: "ts-jest",
55
coverageThreshold: {
66
global: {
7-
branches: 100,
7+
branches: 90,
88
functions: 100,
9-
lines: 100,
10-
statements: 100
9+
lines: 90,
10+
statements: 90
1111
}
1212
},
1313
testPathIgnorePatterns: ["<rootDir>/tests/fixtures/"],

0 commit comments

Comments
 (0)