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

fix: ignore unused snapshots for skipped test #862

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

AllanChain
Copy link
Contributor

@AllanChain AllanChain commented Mar 22, 2024

Description

This PR tracks the skipped tests and don't mark a snapshot as unused if the corresponding test is skipped.

Related Issues

Checklist

  • This PR has sufficient documentation.
  • This PR has sufficient test coverage.
  • This PR title satisfies semantic convention.

Additional Comments

No comments.

@AllanChain AllanChain force-pushed the fix/skip branch 3 times, most recently from 730396d to 1de9f7f Compare March 23, 2024 03:20
@AllanChain AllanChain marked this pull request as ready for review March 23, 2024 03:30
Copy link

codecov bot commented Aug 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #862      +/-   ##
==========================================
+ Coverage   98.30%   98.31%   +0.01%     
==========================================
  Files          20       20              
  Lines        1530     1545      +15     
==========================================
+ Hits         1504     1519      +15     
  Misses         26       26              

@noahnu noahnu merged commit 3f6e301 into syrupy-project:main Aug 21, 2024
15 of 17 checks passed
@noahnu
Copy link
Collaborator

noahnu commented Aug 21, 2024

@all-contributors add @AllanChain for bug

Copy link
Contributor

@noahnu

I've put up a pull request to add @AllanChain! 🎉

noahnu pushed a commit that referenced this pull request Aug 21, 2024
## [4.6.3](v4.6.2...v4.6.3) (2024-08-21)

### Bug Fixes

* ignore unused snapshots for skipped test ([#862](#862)) ([3f6e301](3f6e301))
@noahnu
Copy link
Collaborator

noahnu commented Aug 21, 2024

🎉 This PR is included in version 4.6.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants