I use the following command to run my tests located in utils file.
npm t -- --testPathPattern=utils.spec.js
If i want to update ALL my snapshots i use
npm t -- -u
But how can i update only snapshot in utils.spec.js file?
utils.spec.js
Thanks.
Aucun commentaire:
Enregistrer un commentaire