-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(js): fail check if an error is thrown #1137
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1137 +/- ##
==========================================
+ Coverage 73.58% 73.59% +0.01%
==========================================
Files 144 144
Lines 10527 10531 +4
==========================================
+ Hits 7746 7750 +4
Misses 2323 2323
Partials 458 458
Continue to review full report at Codecov.
|
c3fc860
to
af0b23d
Compare
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.
LGTM besides the minor comment nitpick, and a sentence or two in the PR description that's suitable for the release notes 😉
af0b23d
to
35043fd
Compare
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.
LGTM
This fix ensures the check metric is failed if an error occurs inside the check function, while still allowing an unhandled error to be thrown and interrupt the test, keeping backwards compatibility.
Closes #1054