vscode
vscode copied to clipboard
bug: test can not be stopped/killed
Describe the bug
Running this kind of test can not be stopped within the vscode test ui. It can be stopped only by killing the process itself.
it('can not be stopped', () => {
while (true) {}
});
Reproduction
Tun ths test within vscode with vitest extension and try to stop the test by clicking stop button on test panel.
it('can not be stopped', () => {
while (true) {}
});
Output
NA
Extension Version
1.28.2
Vitest Version
1.28.2
Validations
- [x] Check that you are using the latest version of the extension
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- [x] The provided reproduction is a minimal reproducible example of the bug.