I have a React/TypeScript project using the Jest testing framework. Sometimes, after I update my code, Jest will compare it to the snapshots and provide an alert asking me to update them. Other times, I don't get this prompt:
Would you like to update your snapshots?
If I don’t get this prompt, I can update each individual line by hand, but this is tedious and error prone.
How do I automatically update my snapshots?
