-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Upgrading dependencies broke the coverage report #5101
Comments
Hello @Aragur. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
Which dependency upgrades caused this? |
Unfortunately I don't know. |
In the configuration file the +import { coverageConfigDefaults } from "vitest/config";
export default defineConfig(({ mode }) => ({
coverage: {
- exclude: ["**/*.stories.*", "src/api"],
+ exclude: [...coverageConfigDefaults.exclude, "**/*.stories.*", "src/api"],
},
},
})); Right now the configuration is overriding virtual modules' exclusion: #3794. |
@AriPerkkio thanks a lot. That resolved my issue. |
@AriPerkkio thank you a lot! Literally finally fixed my problem! |
Describe the bug
Upgrading my dependencies broke the coverage file write.
Reproduction
https://github.com/Aragur/vitest-bug-2024_01
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: