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
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 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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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