Skip to content
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

unhandled rejection is bubbling out from unit test #754

Open
eoln opened this issue Jul 6, 2020 · 0 comments
Open

unhandled rejection is bubbling out from unit test #754

eoln opened this issue Jul 6, 2020 · 0 comments
Assignees
Labels

Comments

@eoln
Copy link

eoln commented Jul 6, 2020

I picked a random test case to make this POC: #753

It shows that unhandled promise rejection is bubbled out from the unit test
I also fixed the test so now it fails.
If you comment out the newly added L197 and run the test in console output you will see the message from process.on handler which will be called if the unit test code is not handling the error properly.

There are other 47 tests from which unhandled rejections are bubbling out

@eoln eoln added the bug label Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants