chore(vite.config): exclude '__tests__' directory from coverage reports#10084
chore(vite.config): exclude '__tests__' directory from coverage reports#10084sukvvon wants to merge 1 commit intoTanStack:mainfrom
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.