Replies: 1 comment 3 replies
-
It looks like Jest had similar requests, but maybe lf LF vs CRLF issues are still same
Any idea would be welcome, but not sure what's the best approach. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I ran into the same issue this person did today #3847 where the diffs looked identical in a failing test. I managed to track it down to a library I was using that was outputting line endings with
\r\n
. As I'm on a Mac, the strings in my test fixtures that get passed into.toBe()
ended with just\n
.This behavior was pretty confusing. Is there a way to improve the diffing to make it clearer what the issue was?
Beta Was this translation helpful? Give feedback.
All reactions