-
Notifications
You must be signed in to change notification settings - Fork 185
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
fix(TabsItem): use hasReactNode for status #6125
fix(TabsItem): use hasReactNode for status #6125
Conversation
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 5281e9e:
|
e2e tests |
👀 Docs deployed
Commit 5281e9e |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6125 +/- ##
==========================================
+ Coverage 79.38% 79.55% +0.16%
==========================================
Files 306 304 -2
Lines 9631 9605 -26
Branches 3261 3265 +4
==========================================
- Hits 7646 7641 -5
+ Misses 1985 1964 -21
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Может быть простенький тест добавим?
Сделано ⚡ 27dee94 |
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.
Мерси!
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.
Мейби надо было 23
на 0
поменять, чтобы лишнего не плодить? :)
27dee94
to
5281e9e
Compare
* fix(TabsItem): use hasReactNode for status * test(TabsItem): extend e2e config with status={0}
Описание
Чтобы учитывать, что
status
может быть 0, используем функциюhasReactNode
.