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
When running tests inside the VS Code extension, occasionally when running with coverage enabled, the tests will crash and VS Code no longer recognizes any test suite. You need to manually hit the "Refresh Tests" button to rediscover the test suite.
Note, when running this on my production application that has many more tests that are more complicated, running test coverage fails 9/10 times. In this repro, it fails less frequently.
There have been multiple issues reported regarding this, but they've all been closed due to a lack of repro steps. I've done the best I can to provide something that fails at least intermitently. #561 #547
Describe the bug
When running tests inside the VS Code extension, occasionally when running with coverage enabled, the tests will crash and VS Code no longer recognizes any test suite. You need to manually hit the "Refresh Tests" button to rediscover the test suite.
Note, when running this on my production application that has many more tests that are more complicated, running test coverage fails 9/10 times. In this repro, it fails less frequently.
There have been multiple issues reported regarding this, but they've all been closed due to a lack of repro steps. I've done the best I can to provide something that fails at least intermitently.
#561
#547
Reproduction
Repro Repo: https://github.com/AStoker/vitest-coverage-failures
I added the steps in the README, but they're here too:
yarn
Output
Extension Version
1.14.3
Vitest Version
3.0.6
Validations
The text was updated successfully, but these errors were encountered: