🚀 Feature Proposal
Create a way to reject the test without a full diff?
Motivation
This report comes from a instance where I had a unserialized class object with some internal data that I compared to serialized JSON (the expected) and the output was giving memory errors. I should have been serializing the classes themselves but when I forgot to do so I questioned my sanity and the code because of these memory errors and jest never terminating
Example
This code produces the "bug" but since this sort of thing is potentially outside of the scope of bugs I am filing it as feature request
https://github.com/cmdcolin/jest_neverfinish
My only proposal is that somehow this would be "caught" without running forever or producing memory errors but potentially this is misguided
Pitch
If this feature was added to clearly reject something by partially diffing, then it would save headaches that make you think your actual code is faulty instead of the test being faulty!