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 |
|
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