You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to update snapshots and you aren't familiar with jest snapshots, you'll usually wind up at the Jest Snapshots page. Running jest directly inside the project, as suggested, leads to errors and I find it annoying to have to pass arguments to npm scripts, etc.
I think we should just have a script that updates snapshots, it would be easier for new developers and experienced ones alike.
The text was updated successfully, but these errors were encountered:
Fixes#7513
## Description
Adds a script to update any snapshots that have changed.
## How has this been tested?
I used this in a recent PR where my snapshots changed; figured it might be useful to others.
If you want to update snapshots and you aren't familiar with jest snapshots, you'll usually wind up at the Jest Snapshots page. Running
jest
directly inside the project, as suggested, leads to errors and I find it annoying to have to pass arguments to npm scripts, etc.I think we should just have a script that updates snapshots, it would be easier for new developers and experienced ones alike.
The text was updated successfully, but these errors were encountered: