snapshot test fail with escaped characters #1806
Unanswered
JakobVogelsang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We use snapshots to test some complex text fields and define patterns for those. To define patterns we use e.g something like this:
'\\S*'
. This however is causing problems with snapshot tests. When writing new snapshots, it looks like thiswhen we run the tests with existing snapshots however, we get this
I have seen a similar discussion for Jest which has something to do with a pretty-print running that was causing this issue but am not sure, if this is an issue here.
Beta Was this translation helpful? Give feedback.
All reactions