americanexpress / jest-image-snapshot

✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.
Apache License 2.0
3.83k stars 198 forks source link

fix: Changes to consider only updatePassedSnapshot if updateSnapshot is also true #327

Closed goverdhan07 closed 1 year ago

goverdhan07 commented 1 year ago

Description

updatePassedSnapshot to only update "passed" snapshots when jest --updatesnapshot flag is present.

Motivation and Context

fixes: #325

Types of Changes

Checklist:

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

chetan1507 commented 1 year ago

can we please merge this? This is a very useful fix for CI detection in case of missing snapshots.

10xLaCroixDrinker commented 1 year ago

Please sign the CLA

goverdhan07 commented 1 year ago

Please sign the CLA

hi @10xLaCroixDrinker I have signed the cla but it still says - not signed. Maybe the Github action is broken? please check and let me know.

10xLaCroixDrinker commented 1 year ago

For the CLA to work, you need to amend your commits to use the email associated with your GitHub account

goverdhan07 commented 1 year ago

@code-forger / @10xLaCroixDrinker Please re-review this PR. I have fixed CLA issue now.

oneamexbot commented 1 year ago

:tada: This PR is included in version 6.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: