-
Notifications
You must be signed in to change notification settings - Fork 34
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
add support for --updateSnapshot #53
Comments
Say more? How would like to use it, what would that look like? |
Similar to the jest provides a menu selection to choose which fixtures you would like to update, as described here: https://jestjs.io/docs/en/snapshot-testing#updating-snapshots |
That's something that jscodeshift needs to do first. See facebook/jscodeshift#135 Once they update their testUtils to generate tests using snapshots instead of their custom way, then it would be easy to simply pipe the argument to jest |
I think we can do it actually. @Turbo87 did something similar over in ember-codemods/ember-angle-brackets-codemod#138. |
PR fixing this: facebook/jscodeshift#297 |
No description provided.
The text was updated successfully, but these errors were encountered: