-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Explorer does not convert failed test to passing after save #757
Comments
Potential dupe of #734, unconfirmed |
This appears to be because if the code matches the last commit, the test will not be run. May need to force override this behavior in jest for the individual file. Output Window after saving back to "true"
|
I assume you are in watch mode? It's a known issue about how jest watcher worked. You can switch to the interactive mode (see autoRun), which triggers run by editor save, regardless of git status. |
TL;DR "jest.autoRun": { "watch": false, "onSave": "test-src-file", "onStartup": ["all-tests"] } |
I'm having a similar issue. I see the error like This is from a create-react-app with typescript. I added ReScript. If I run |
If If the above did not work, then maybe provide a sample repo so we can further investigate... |
Issue Type: Bug
Extension version: 4.1.1
VS Code version: Code - Insiders 1.60.0-insider (44568e5947efa4811419e529e80fb14b7554cf61, 2021-08-23T10:43:01.389Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: