unexpected-react
unexpected-react copied to clipboard
Show the entire *actual* output on failure with "best match"
When using the to contain assertion, sometimes the failure message tries to be helpful and shows a best match. Now this best match can be an absolute false positive, not even close to what it was supposed to match.
In these cases seeing what the entire actual output was could be extremely useful.