-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Coverage not created in Monorepo #394
Comments
@spence-novata Make sure your |
This did the trick thank you |
You shouldn't need to change your config for coverage to work |
However that's not the case for the extension as it requires us to enable the coverage in our config file. This was first found here and receives np further response from the team. |
This is a bug in the extension, not a feature. After that comment, there were bug fixes that removed that requirement (https://github.com/vitest-dev/vscode/releases/tag/v0.10.0). If it's still needed in some cause, this is a bug. |
That's new to me. Let me test that again and raise a bug if needed. |
Describe the bug
I don't believe this is a duplicate or regression of #372
When running in a monorepo I'm not getting any coverage reports. If I open vscode on the individual package I get coverage fine. But in a monorepo nothing.
The test itself seems to pass (or fail) correctly. There are no errors in the Output. I pulled the path to the reportsDirectory from the output and that directory doesn't exist.
Reproduction
https://github.com/spence-novata/vitest-monorepo-coverage-repro
Output
Version
0.10.7
Validations
The text was updated successfully, but these errors were encountered: