vitest-dev / vscode

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

"Test result not found" but tests run fine in CLI #307

Closed paul-uz closed 5 months ago

paul-uz commented 5 months ago

Describe the bug

The plugin is giving me "Test result not found." for random tests. Running vitest via the CLI results in all tests passing.

Reproduction

N/A

System Info

System:
    OS: macOS 14.1.1
    CPU: (12) arm64 Apple M2 Pro
    Memory: 76.20 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - /opt/homebrew/bin/node
    npm: 10.2.4 - /opt/homebrew/bin/npm
    pnpm: 8.6.11 - /opt/homebrew/bin/pnpm
    bun: 1.0.3 - /opt/homebrew/bin/bun
  IDEs:
    Vim: 9.0 - /usr/bin/vim
    Xcode: /undefined - /usr/bin/xcodebuild
  Browsers:
    Chrome: 122.0.6261.129
    Safari: 17.1

Used Package Manager

npm

Validations

github-actions[bot] commented 5 months ago

Hello @paul-uz. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with needs reproduction will be closed if they have no activity within 3 days.

paul-uz commented 5 months ago

I cannot reproduce as it requires VSCode itself.

paul-uz commented 5 months ago

Anyone else getting this behaviour?

It's happens somewhat randomly and reproduction is near impossible but it does indeed happen.

jcarrus commented 5 months ago

I've run into this issue a few times, @paul-uz I would verify that: