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
in Jest, snapshots are not automatically written in CI, thus the test will fail if there is no snapshot. It feels like this should work the same otherwise tests are likely to slip by when snapshot names are changed.
After some digging, it looks like Jest uses ci-info. I'm a newbie to Ruby, so I don't know if there's an equivalent gem. (TBH I think CI=true is common enough that it's good enough)
in Jest, snapshots are not automatically written in CI, thus the test will fail if there is no snapshot. It feels like this should work the same otherwise tests are likely to slip by when snapshot names are changed.
https://jestjs.io/docs/snapshot-testing#are-snapshots-written-automatically-on-continuous-integration-ci-systems
The text was updated successfully, but these errors were encountered: