-
-
Notifications
You must be signed in to change notification settings - Fork 693
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
Expected rejections should not raise 'unhandledRejection' #1134
Comments
FWIW, this also behaves similarly if one rejects with an Error instead of with a string: Normally you will observe:
Note the "UNHANDLED" message indicating that the process emitted an 'unhandledRejection' event. You may have to run
Note the double report and "phantom" test. |
@erikerikson I believe this issue is related to petkaantonov/bluebird#1487. I'd recommend letting them know you're running into the same issue with |
Thank you @meeber I've narrowed this down further and it does not relate to chai. Have reported to bluebird. Apologies for the noise. |
Apologies if this is not the exact right place to raise this...
Reproduction available at https://github.com/erikerikson/chai-bluebird
Using:
Executing:
Outputs:
The text was updated successfully, but these errors were encountered: