test(react): increase coverage for NumberInput#21839
test(react): increase coverage for NumberInput#21839adamalston wants to merge 2 commits intocarbon-design-system:mainfrom
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21839 +/- ##
==========================================
+ Coverage 94.39% 94.47% +0.07%
==========================================
Files 536 536
Lines 43673 43667 -6
Branches 6220 6275 +55
==========================================
+ Hits 41227 41254 +27
+ Misses 2307 2274 -33
Partials 139 139
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I don't plan to mark this pull request as ready for review until some of my earlier pull requests have been reviewed. I want to avoid diverting attention from them. Otherwise, these changes are ready to go. |
No issue.
Increased test coverage for
NumberInputand deleted unreachable code.Changelog
Changed
NumberInput.Removed
Testing / Reviewing
yarn test --coverage \ --runTestsByPath packages/react/src/components/NumberInput/__tests__/NumberInput-test.js \ --collectCoverageFrom=packages/react/src/components/NumberInput/NumberInput.tsxPR Checklist
As the author of this PR, before marking ready for review, confirm you:
Updated documentation and storybook examplesAddressed any impact on accessibility (a11y)Tested for cross-browser consistencyMore details can be found in the pull request guide