-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Vitest VSCode extension doesn't give information about test files written in another language #82
Comments
I've opened up your sample repo - under .vscode's |
I just found out that the extension uses babel to parse files and not Vite/Vitest In order to support this feature, I believe we could hook into Vitest which already provides this information (example here that gets sourcemaps in the context of a reporter) instead of parsing files using babel. |
Probably related to my similar issue of tests written in ReScript. |
This is now supported in pre-release 0.5.0 and higher. Note that the extension now requires Vitest 1.4.0 or higher. I am adding a "needs test" flag to make sure we don't introduce a regression later down the line. |
Describe the bug
I'm writing my test files using Imba. I'm using the Imba plugin for Vite, so Vite and vitest handle them correctly.
But I only see the file name in the tests pane.
To Reproduce
Steps to reproduce the behavior on this example project:
Expected behavior
I would like to actually display the details from the test file
Screenshots
How to?
I'm not sure about how you analyze the test files. But it would work if the extension analyzes the transformed files instead.
The text was updated successfully, but these errors were encountered: