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
I can't ensure that all snapshots were recorded before running test in CI.
Unrecorded snapshots will be written on the CI server fs and the test suite will pass.
What is the expected behavior?
I can ensure that the test will fail if it tries to create a new snapshot.
--recordSnapshot Records snapshots.
Useful to disable when you want
to make sure all snapshot are already recoded (e.g: on CI)
Disable using --no-recordSnapshot.
[boolean] [default: true]
The text was updated successfully, but these errors were encountered:
We should simply detect if "CI" is present. If it is, don't offer to write snapshots initially unless -u is specified. This should be the default. Happy to receive PRs for this :)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Do you want to request a feature or report a bug?
feature
What is the current behavior?
I can't ensure that all snapshots were recorded before running test in CI.
Unrecorded snapshots will be written on the CI server fs and the test suite will pass.
What is the expected behavior?
I can ensure that the test will fail if it tries to create a new snapshot.
The text was updated successfully, but these errors were encountered: