vitest-dev / vscode

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

Extension doesn't collect tests if the test file is open, but not toggled in the tree view #295

Closed sheremet-va closed 5 months ago

sheremet-va commented 6 months ago

Describe the bug

If the test file is open in the editor, it should populate tests in the tree without clicking on the tree item.

Reproduction

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

System Info

Any

Used Package Manager

npm

Validations