-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Description
(version v15.1.1)
In this PR, I can't use expect(a).toBe(b); on two complex and cyclic objects. It works fine if the test pass but if the test fails I think it tries to print/report the object structure or something. Interestingly enough it works fine on some of the other similar objects.
The end result is that jest stalls and doesn't print or proceed with anything else. I thought it might have been an infinite loop but if I run it with the Chrome debugger in Node 6 I can't stop. There's no break point so it seems like the event loop is just paused waiting for new messages that never arrive.
sighrobot, DrewML, Exomnius, chrisdobler, carusology and 2 more