-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(bloc_test): throw uncaught exceptions #3070
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3070 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 11 +3
Lines 192 268 +76
=========================================
+ Hits 192 268 +76
Continue to review full report at Codecov.
|
jeroen-meijer
left a comment
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.
Noice ![]()
|
👍 |
Status
READY
Breaking Changes
NO
Description
If an uncaught error occurs within a bloc, cubit, or within the
blocTestthey are currently being swallowed by default which makes it very difficult to debug. Instead of swallowing uncaught errors, this change rethrows uncaught errors so that it is clear that an exception has occurred during theblocTest.If
errorsis not null, uncaught errors will be aggregated and evaluated against theerrorsmatcher.Type of Change