The --ci flag activates the CI mode. Instead of automatically storing a new snapshot as per usual, it will now fail the test if no reference snapshot is available.
his enables tests to fail on GitHub actions when a snapshot file was forgotten to be committed.
The
--ci
flag activates the CI mode. Instead of automatically storing a new snapshot as per usual, it will now fail the test if no reference snapshot is available.his enables tests to fail on GitHub actions when a snapshot file was forgotten to be committed.