Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove snap suffix if use custom identifier #305

Conversation

kibala145
Copy link
Contributor

Description

When using customSnapshotIdentifier do not add -snap suffix

Motivation and Context

It would be great not to force '-snap' suffix so users are able to customize file name providing customSnapshotIdentifier
There are some discussion about this #107

How Has This Been Tested?

Current test cases passed. Some of them corrected.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation (adding or updating documentation)
  • Dependency update

Checklist:

  • My change requires a change to the documentation and I have updated the documentation accordingly.
  • My changes are in sync with the code style of this project.
  • There aren't any other open Pull Requests for the same issue/update.
  • These changes should be applied to a maintenance branch.
  • I have added the Apache 2.0 license header to any new files created.

What is the Impact to Developers Using Jest-Image-Snapshot?

Better screenshots naming

@kibala145 kibala145 requested a review from a team as a code owner August 24, 2022 10:31
@CLAassistant
Copy link

CLAassistant commented Aug 24, 2022

CLA assistant check
All committers have signed the CLA.

@kibala145 kibala145 force-pushed the feature/custom-identifier-remove-snap-suffix branch from 6533e60 to 6a53043 Compare August 30, 2022 18:53
@kibala145
Copy link
Contributor Author

Resolved conflicts locally and pushed with force so licence/cla check passed. There are no new changes.

@10xLaCroixDrinker 10xLaCroixDrinker requested review from a team August 30, 2022 19:03
@JAdshead JAdshead merged commit 775ac0a into americanexpress:main Aug 31, 2022
oneamexbot added a commit that referenced this pull request Aug 31, 2022
# [5.2.0](v5.1.1...v5.2.0) (2022-08-31)

### Features

* remove snap suffix if use custom identifier ([#305](#305)) ([775ac0a](775ac0a))
@oneamexbot
Copy link
Contributor

🎉 This PR is included in version 5.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

goverdhan07 pushed a commit to goverdhan07/jest-image-snapshot that referenced this pull request Jul 23, 2023
Co-authored-by: Ivan Kibala <ivankibala@Ivans-MacBook-Air.local>
goverdhan07 pushed a commit to goverdhan07/jest-image-snapshot that referenced this pull request Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants