-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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: console dir should respect options #10638
Conversation
* fixes #10176 * repeats behaviour of the node.js Console class https://github.com/nodejs/node/blob/9918bdf5cb07f58d230522244a372cbb1b510956/lib/internal/console/constructor.js
I think an argument could be made, if this truly is a bug-fix vs a breaking change. It does break |
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.
Thanks! I think it's fine as a fix, we're always trying to behave relatively similar to Node.
@jeysal Got to leave that intact! I didn't code it, merely merge it again :) (well got to do a commit now for the test, but it's about the fix, not the code for me anywhay ^^) |
Thank you! 😌 SimenB proposed to use snapshots, what do you think about it? |
@xamgore I do not now enough about the inner workings of |
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.
I think this is good to go as is 👍
@SimenB any objections? Seems likely now we'll land it for a major anyway (even though I'd consider it not breaking) |
Adding this to the next major milestone, might as well land it in there |
Uh I have no idea, why that one test failed in the latest merge failed. If you have any insides, i would love to hear them! :) |
Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
(Sorry for the late merge from master, busy few days, but here you go 👍 ) |
Fixed import errors, should be good to merge now :) |
* master: chore(docs): update TutorialReactNative.md (jestjs#10802) fix: console dir should respect options (jestjs#10638) docs: add missing "--roots" options (jestjs#10793)
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
This is a reopening of #10182, because it seemed stale.
Fixes #10176.
Closes #10182.
Test plan
(nothing changed except updating current master)