Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/scripts/check-coverage-thresholds.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for (const key of ['branches', 'functions', 'lines', 'statements']) {
if (current > threshold) {
errors.push(
`Coverage for ${key} (${current}%) is above the threshold (${threshold}%).\n\tPlease update the coverageThreshold.global.${key} in the jest.config.js to ${current}!`
)
);
failed = true;
}
}
Expand All @@ -26,6 +26,6 @@ if (failed) {
console.log('Please update the coverage thresholds in jest.config.js.');
console.log('You will need to commit again once you have updated the jst.config.js file.');
console.log('This is only necessary until we hit 100% coverage.\n\n');
errors.forEach(err => console.error(`${err}\n`));
errors.forEach((err) => console.error(`${err}\n`));
process.exit(1);
}
}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ testem.log
# System files
.DS_Store
Thumbs.db
package-lock.json
Loading