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

[Bug]: --update-snapshots deletes all snapshots #1191

Closed
fedeisas opened this issue Jul 10, 2024 · 1 comment
Closed

[Bug]: --update-snapshots deletes all snapshots #1191

fedeisas opened this issue Jul 10, 2024 · 1 comment
Labels

Comments

@fedeisas
Copy link

What Happened

When running tests with --update-snapshots it deletes all the snapshots and recreates from scratch even if I'm running a single test. I went through docs and issues but couldn't find any flag to correct this and operate only on the affected snapshots. Is this by design? Thanks!

How to Reproduce

Run tests with --update-snapshots

Sample Repository

No response

Pest Version

latest

PHP Version

8.2

Operation System

macOS

Notes

No response

@fedeisas fedeisas added the bug label Jul 10, 2024
@nunomaduro
Copy link
Member

yeah, feel free to contribute with something that changes this behavior. It's just the default behavior at the moment.

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

No branches or pull requests

2 participants