-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
chore(vite.config): exclude '__tests__' directory from coverage reports #10084
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
base: main
Are you sure you want to change the base?
Conversation
|
📝 WalkthroughWalkthroughThis PR updates Vitest coverage configuration across 16 packages to exclude test files ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit bf77a04
☁️ Nx Cloud last updated this comment at |
🎯 Changes
Add
exclude: ['src/__tests__/**']tocoverageconfig in all 16 packages'vite.config.ts.Istanbul coverage provider does not auto-exclude
*.test-d.*files (typecheck-only), causing them to appear with 0% coverage. Excluding the entire__tests__directory resolves this and ensures only source code is measured.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.