-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not support vitest 0.29 or newer on Windows #160
Comments
It looks like code that was introduced in 5c58ede#diff-5cc0f46523c911252e1682b9e32c10b10460515187b16b1b47a872f5202b1fe6L127 may be the culprit
All those are not
|
I have the same issue on Windows. |
0.31 works ok,but 0.32 reproduced. |
I am still experiencing this... why is this closed? |
Describe the bug
Getting a "test results not found" error on vitest 0.29, 0.30, and 0.31 on Windows.
It appears to be due to the system drive not being part of the path. This extension runs
npx vitest --api.host 127.0.0.1 /Development/vitest-dev-vscode/samples/basic/src/should_included_test.ts
, for example, which also fails to find tests when run directly from the command line. If I change it tonpx vitest --api.host 127.0.0.1 C:/Development/vitest-dev-vscode/samples/basic/src/should_included_test.ts
however, it works great. Appears Vitest 0.29+ requires system drive on the path?To Reproduce
Steps to reproduce the behavior on the example project:
Expected behavior
Tests run
Actual behavior
Error saying test results not found
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(Paste info.txt content generated by the example project)
Additional context
Output:
The text was updated successfully, but these errors were encountered: