I am working on a React/TypeScript project that utilizes the Jest testing framework. Occasionally, after making changes to my code, Jest will compare it to the snapshots and generate an alert requesting me to update them. However, there are instances where I do not receive this notification:
Would you like to update your snapshots?
https://i.stack.imgur.com/XHPAt.png
If I do not see this prompt, I have to manually update each line, which is time-consuming and prone to errors.
Is there a way to automatically update my snapshots?