However, when we run the visual tests, this update option is not available. The two suites are completely separate instances/projects, so the screenshot testing is done with a separate jest config. I don't see any option to enable/disable the update of screenshots in watch mode. For developers, having a watch option would be nice. Running -u on command line works fine 😃 as a fallback, but the dev experience is not so great.
Thanks for a great bit of tooling. We are using this now for a lot of our web component visual testing with themes.
With that, we have tests that use the normal jest snapshots as well as screenshot visual tests.
The normal jest snapshot tests can be updated in watch mode: https://jestjs.io/docs/snapshot-testing#updating-snapshots
However, when we run the visual tests, this update option is not available. The two suites are completely separate instances/projects, so the screenshot testing is done with a separate jest config. I don't see any option to enable/disable the update of screenshots in watch mode. For developers, having a watch option would be nice. Running
-u
on command line works fine 😃 as a fallback, but the dev experience is not so great.Is this something that can be hooked up?