vitest-dev / vscode

VS Code extension for Vitest
https://vitest.dev/vscode
MIT License
740 stars 83 forks source link

Debug sometimes works only on a second click #294

Closed sheremet-va closed 5 months ago

sheremet-va commented 6 months ago

Describe the bug

When clicking once on a "debug" button, it runs tests in ~100ms, but doesn't actually run them. After clicking it the second time, it correctly runs tests.

Reproduction

https://stackblitz.com/fork/github/vitest-dev/vitest/tree/main/examples/basic?initialPath=__vitest__/

System Info

Any

Used Package Manager

npm

Validations

sheremet-va commented 5 months ago

Fixed by 4161b2f28f6fe13536de4e5431f097b395ace879