-
Notifications
You must be signed in to change notification settings - Fork 353
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
chore(Chip): updated unit tests #9572
chore(Chip): updated unit tests #9572
Conversation
...props | ||
} = this.props; | ||
const Component = component as any; | ||
return ( | ||
<Component | ||
{...(this.props.textMaxWidth && { |
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.
This was causing a textmaxwidth
attribute to be rendered due to the spread ...props
on line 154
Preview: https://patternfly-react-pr-9572.surge.sh A11y report: https://patternfly-react-pr-9572-a11y.surge.sh |
8dfb8b9
to
b361848
Compare
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.
Really great work on this! I do have a handful of questions and a couple of requests though.
packages/react-core/src/components/Chip/__tests__/Chip.test.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Chip/__tests__/Chip.test.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Chip/__tests__/Chip.test.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Chip/__tests__/Chip.test.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Chip/__tests__/Chip.test.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/components/Chip/__tests__/Chip.test.tsx
Outdated
Show resolved
Hide resolved
8a8a528
to
a581641
Compare
a581641
to
ef8359a
Compare
packages/react-core/src/components/Chip/__tests__/Chip.test.tsx
Outdated
Show resolved
Hide resolved
ef8359a
to
c7b165e
Compare
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.
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #9530
Added integration test to check that tooltipPosition is passed to Tooltip properly
Additional issues: