-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sebastian Silbermann
committed
Feb 2, 2024
1 parent
334bed3
commit 3251377
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
const {jest: jestConfig} = require('kcd-scripts/config') | ||
|
||
module.exports = Object.assign(jestConfig, { | ||
coverageThreshold: { | ||
...jestConfig.coverageThreshold, | ||
// Full coverage across the build matrix (React 18, 19) but not in a single job | ||
// Ful coverage is checked via codecov | ||
'./src/act-compat.js': { | ||
// minimum coverage of jobs using React 18 and 19 | ||
branches: 90, | ||
functions: 100, | ||
lines: 100, | ||
statements: 100, | ||
}, | ||
}, | ||
}) |