chore: fixes coverage calculation for deploy-web#1760
Conversation
WalkthroughThe Jest configuration for the deploy-web app was updated to use a dedicated TypeScript config for tests, with coverage collection patterns centralized at the top level. Coverage ignore patterns were refined for greater specificity. A new Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Suggested reviewers
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx}📄 CodeRabbit Inference Engine (.cursor/rules/general.mdc)
Files:
**/*.{js,ts,tsx}📄 CodeRabbit Inference Engine (.cursor/rules/general.mdc)
Files:
🧠 Learnings (3)📓 Common learningsapps/deploy-web/tsconfig.spec.json (10)Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR apps/deploy-web/jest.config.ts (11)Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: stalniy Learnt from: CR ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (4)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
d20962c to
8fb2716
Compare
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #1760 +/- ##
===========================================
- Coverage 73.01% 41.95% -31.07%
===========================================
Files 630 926 +296
Lines 15133 25983 +10850
Branches 2645 6925 +4280
===========================================
- Hits 11050 10901 -149
- Misses 3743 14717 +10974
- Partials 340 365 +25
*This pull request uses carry forward flags. Click here to find out more. 🚀 New features to boost your workflow:
|
Why
Because of 2 separate jest projects in deploy-web, its coverage was calculated incorrectly.
Summary by CodeRabbit