-
-
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: don't assume stack
is always a string
#10697
Conversation
Can you add an integration test which does Adding a case here and adding some assertions somewhere around here should work out: https://github.com/facebook/jest/blob/2dafb09d51584d3785f3280f569784ec4334b5d8/e2e/__tests__/failures.test.ts#L30-L54 |
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.
see #10697 (comment)
I have added an integration test 💯 . |
@snitin315 thanks! I pushed up one more failing test I'd like to se a better error for. I'll be happy to give you a hand if you get stuck attempting to fix it 👍 |
Looking into it 👍🏻 |
Thanks! That snapshot should look like the snapshot of |
Yeah, I got it. |
@SimenB it's like this now, Not sure why CI is failing for |
Looks good! |
This comment has been minimized.
This comment has been minimized.
@snitin315 I pushed the fix for Node 10. We just need to fix the test for Jest Circus and this should be ready to land 👍 |
@SimenB Thanks!, I am working on Jest Circus I will push soon. |
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
Fixes #10681
Test plan
Before
After