jest --watch
runs tests twice after editing a file
#10514
Labels
Milestone
jest --watch
runs tests twice after editing a file
#10514
Describe the problem and steps to reproduce it:
Run
yarn test
, edit a file.What happened?
Sometimes the tests are run twice
What did you expect to happen?
They should only be run once for each file change
Anything else we should know?
This is happening because our WebpackIsomorphicToolsPlugin auto-generates a
webpack-assets.json
file. The change to this file triggers a second test run.It is not yet possible to ignore changes to this file and I haven't found a good workaround yet.
The text was updated successfully, but these errors were encountered: