forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return exit code 1 if coverage threshold requirements are not met (je…
…stjs#1974) * determine if a run is successful after onRunComplete * Update TestRunner.js
- Loading branch information
1 parent
6066435
commit b9a3c8c
Showing
1 changed file
with
17 additions
and
18 deletions.
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
b9a3c8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lazywithclass @okonet This not failing on my machine as well as CI of my project. Curious to know how it will perform exit with exit code 1, as i do not see process.exit(1). Also i was not able to figure out who reads this value -> aggregatedResults.success
Any help is much appreciated..
Thanks..
b9a3c8c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This worked after clean install to 17.0.2, but still curious to know where is aggregatedResults.success used. Thanks for this fix, it helped.