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
Outdated-snapshot-reporter assumes that all snapshot files end with -snap.png. Files that end differently are not reported nor removed when obsolete.
Provide step-by-step guide on how to reproduce the bug
Use a customSnapshotIdentifier that does not end with -snap.png with outdated-snapshot-reporter enabled.
Existing snapshot files will be ignored by the reporter.
Outdated-snapshot-reporter does not make assumptions about snapshot identifiers or exposes the suffix as a configurable parameter. Bare minimum would be to document the assumption extremely clearly.
System information
Version of jest-image-snapshot: 6.1.0
Node version: 18.14.2
The text was updated successfully, but these errors were encountered:
Describe the bug
Outdated-snapshot-reporter assumes that all snapshot files end with
-snap.png
. Files that end differently are not reported nor removed when obsolete.Provide step-by-step guide on how to reproduce the bug
Use a
customSnapshotIdentifier
that does not end with-snap.png
withoutdated-snapshot-reporter
enabled.Existing snapshot files will be ignored by the reporter.
Expected behavior
Outdated-snapshot-reporter does not make assumptions about snapshot identifiers or exposes the suffix as a configurable parameter. Bare minimum would be to document the assumption extremely clearly.
System information
The text was updated successfully, but these errors were encountered: