-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
test: convert TableHeader to RTL #13204
test: convert TableHeader to RTL #13204
Conversation
✅ Deploy Preview for carbon-components-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for carbon-components-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for carbon-components-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
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.
I see some other props in the component that don't seem to have tests:
-className
-colSpan
-id
-isSortable
-onClick
-translateWithId
-scope
-children
packages/react/src/components/DataTable/__tests__/TableHeader-test.js
Outdated
Show resolved
Hide resolved
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.
LGTM, just one minor detail 🙏🏻
packages/react/src/components/DataTable/__tests__/TableHeader-test.js
Outdated
Show resolved
Hide resolved
…test.js Co-authored-by: Francine Lucca <40550942+francinelucca@users.noreply.github.com>
Closes #12668
Changed
TableHeader
Testing / Reviewing
Ensure all tests pass and all props are covered by tests
yarn test packages/react/src/components/DataTable/__tests__/TableHeader-test.js