Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c2c72a9

Browse files
committed
Lower coverage threshhold
Jest is not suited for this check since has no knowledge about the build matrix. Codecov should check this instead
1 parent c2e8361 commit c2c72a9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎jest.config.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,17 @@ const {
88
module.exports = {
99
collectCoverageFrom,
1010
coveragePathIgnorePatterns: [...coveragePathIgnorePatterns, '/__tests__/'],
11-
coverageThreshold,
11+
coverageThreshold: {
12+
...coverageThreshold,
13+
// full coverage across the build matrix (Node.js versions) but not in a single job
14+
// minimum coverage of jobs using different Node.js version
15+
'./src/waitFor.ts': {
16+
branches: 96.77,
17+
functions: 100,
18+
lines: 97.95,
19+
statements: 98,
20+
},
21+
},
1222
watchPlugins: [
1323
...watchPlugins,
1424
require.resolve('jest-watch-select-projects'),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /