test: collect coverage from untested files too#2239
test: collect coverage from untested files too#2239AriPerkkio wants to merge 8 commits intonpmx-dev:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated 🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pull request was converted to draft
Also
No idea really. Tests should not fail based on collected coverage. |
yeaaa you right, I kinda hoped it'd fix CI though 😆
🫠 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
🔗 Linked issue
(looks like everyone leaves this empty)
🧭 Context
Currently code coverage is not collected from untested files. You'll need to define
coverage.includeto instruct Vitest which files are considered as source files.https://vitest.dev/guide/coverage.html#including-and-excluding-files-from-coverage-report
📚 Description
Defines source directories in
coverage.includeswith extensions oftsandvue.This drops code coverage: