matchSnapshot generates snapshot content differently in Ubuntu vs windows 10 #766
Unanswered
PrasadJayakumarInfy
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
-
I have created unit-test on a component using mount and matchSnapshot. Snapshot got generated in my windows machine. Tests were successful. But when the unit-test got executed in Github Pipeline which runs on Ubuntu, tests were failed.
Tests were successful earlier and started failing just today. When I looked into the root-cause, it happens to be due to stubs. Removed stubs, tests are back to normal.
I will create an issue ticket, after having a reproducible sample repo. Just in-case, if anyone else faced the issue, please let me know the solution. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions