ctrl+f9 to start the extensions, which does the following:
Watching for file changes
Upon each file change, it tries to find
spec file corresponding to the change.
src/foo.js is changed, it will search for
src/foo.spec.js is changed, then it will use it.
spec file is found,
Jest is run upon this file
You will see loading bar until
Jest is executed.
Results are displayed to the user
foo.spec.js countains 2 successful and 1 failed test, the user will see
foo.spec.js countains 3 successful and 0 failed test, the user will see
- First 800 characters of
Jest log are visible, if the user hovers over the result.
You need to set
autoJest.nodePath option in your