-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
[Merged by Bors] - Pretty print promise objects #2407
Conversation
Test262 conformance changes
|
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.
Nice change!
Codecov Report
@@ Coverage Diff @@
## main #2407 +/- ##
==========================================
- Coverage 38.85% 38.82% -0.03%
==========================================
Files 313 313
Lines 23846 23863 +17
==========================================
Hits 9266 9266
- Misses 14580 14597 +17
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
bors r+ |
Right now our promises print `{ }` on display. This PR improves a bit the display and ergonomics of promises in general. Now, promises will print... - When pending: `Promise { <pending> }` - When fulfilled: `Promise { "hi" }` - When rejected: `Promise { <rejected> ReferenceError: x is not initialized }`
Pull request successfully merged into main. Build succeeded: |
Right now our promises print
{ }
on display. This PR improves a bit the display and ergonomics of promises in general. Now, promises will print...Promise { <pending> }
Promise { "hi" }
Promise { <rejected> ReferenceError: x is not initialized }