-
Notifications
You must be signed in to change notification settings - Fork 54
Exclude recipes, fixtures, and test-utils from coverage #1150
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
Conversation
|
🟢 No design token changes found |
🟢 No unit test coverage changes foundAll components and hooks with tests maintain the same coverage as the main branch. |
🟢 No visual differences foundOur visual comparison tests did not find any differences in the UI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR improves test coverage accuracy by excluding non-production code directories from coverage calculations. The change filters out recipes, fixtures, and test utilities that shouldn't be counted toward the main codebase coverage metrics.
Key changes:
- Excludes recipes and fixtures directories from Jest coverage collection
- Increases reported coverage from 77.22% to 85.34% by focusing on production code
3188015
to
ef9174b
Compare
ef9174b
to
6bceac5
Compare
Excludes the following directories from the coverage report
packages/react/src/recipes
packages/react/src/fixtures
packages/react/src/test-utils
This gives us a more accurate figure for our overall test coverage of 85.34%, compared to 77.22% that was reported before