Skip to content

Commit

Permalink
Workaround incorrect coverage reporting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samhh committed Apr 6, 2024
1 parent bbc5817 commit 150c692
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ module.exports = {
coverageProvider: "v8",
coverageThreshold: {
global: {
branches: 100,
// Principally 100%, but coverage is reported inconsistently across
// platforms, so we'll give it a little wiggle room here.
branches: 99,
functions: 100,
lines: 100,
statements: 100,
Expand Down

0 comments on commit 150c692

Please sign in to comment.