You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm ls jest or npm ls react-scripts (if you haven’t ejected): [email protected]
Operating system: Windows_NT x64 10.0.19042
VS Code: 1.53.2
Prerequisite
are you able to run jest test from command line? YES
how do you run your tests from command line? npm run jest
Steps to Reproduce
I have working (passing) test unit, I introduce a typo, save file => error shown in PROBLEMS tab + error markers in the file
I fix typo, save file => error still in the PROBLEMS tab + error markers in the file
I introduce new typo => new (correct) error in the PROBLEMS tab + error markers in the file
I fix new typo, save file => error still in the PROBLEMS tab + error markers in the file
restarting jest watcher clears PROBLEMS tab + success markers in the file until next error.
Relevant Debug Info
It appeared on async test.
Expected Behavior
vscode-jest should update test result after error is fixed
Actual Behavior
vscode-jest doesn't update test result when problem is fixed, it updates only on new errors.
Other
I haven't worked on the project for a while, so I don't know when it stopped working, but it used to work fine before.
It looks like an ephemeral issue - after reproducing the steps for few dozen times it finally started working correctly. Still posting this issue in case anyone knows what is happening and why.
The text was updated successfully, but these errors were encountered:
Correction - it just came back after I removed all the additional lines I introduced in the file since last git commit.
If the file is being returned to the state of the last commit jest watch will not run on this file leaving the PROBLEMS tab with errors and test file with error markers.
Commiting the file before running steps to reproduce is crucial for the issue to appear.
For people with problems with watchman or "jest watch", there is an alternative now: we have added a new "interactive mode" independent of the watchman in the latest v4.0.0-alpha.5, please feel free to give it a try and let us know if it works for you.
Environment
node -v
: v14.5.0npm -v
: 6.14.5npm ls jest
ornpm ls react-scripts
(if you haven’t ejected): [email protected]Prerequisite
npm run jest
Steps to Reproduce
Relevant Debug Info
It appeared on async test.
Expected Behavior
vscode-jest should update test result after error is fixed
Actual Behavior
vscode-jest doesn't update test result when problem is fixed, it updates only on new errors.
Other
I haven't worked on the project for a while, so I don't know when it stopped working, but it used to work fine before.
It looks like an ephemeral issue - after reproducing the steps for few dozen times it finally started working correctly. Still posting this issue in case anyone knows what is happening and why.
The text was updated successfully, but these errors were encountered: