Skip to content

Minimal example of wrong failed counts in the Vitest VS Code plugin

Notifications You must be signed in to change notification settings

josdejong/vitest-vscode-count-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vitest VS Code plugin count issue

See vitest-dev/vscode#417

To reproduce:

  • Checkout this repo locally
  • Install dependencies via npm install
  • Open the project in VS Code, with the Vitest test runner installed
  • Open the Test Runner sidebar in VS Code and run the tests
  • Now, the Vitest VS Code plugin says "1/5 tests passed" on top and in the icon on the left "4 failed tests". The reality is "1/2 tests passed" and "1 failed test".

Not that the Vitest command line outputs the right numbers: "Tests 1 failed | 1 passed (2)".

About

Minimal example of wrong failed counts in the Vitest VS Code plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published