Unit test snapshot update not working
-
Hi
I’ve setup jest for unit tests and added snapshots. Now I changed a component the test fails, as expected. But when I try to update the snapshot it doesn’t work.$ quasar test --unit jest
snapshot failed from 1 test suite. Inspect your code changes or re-run jest with-u
to update them.I tried…
$ quasar test --unit jest -u
$ quasar test --unit jest --u
$ quasar test --unit jest -update-snapshotBut the snapshot doesn’t get updated. I guess its something obvious I’m missing.