You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This needs checking, but I believe that using TextDiffReporter will change the behaviour of failing tests - from throwing the Approvals-specific mismatch exception - to throwing an exception to indicate that the “system call failed”.
This is because diff returns a non-zero exit code when files differ.
We already saw this in our own tests, but didn’t appreciate the consequences at the time.