vscode icon indicating copy to clipboard operation
vscode copied to clipboard

bug: test can not be stopped/killed

Open mamilic opened this issue 4 months ago • 1 comments

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

mamilic avatar Sep 02 '25 08:09 mamilic