docs(text-input): Update TextInput README to reflect /testing import#3506
docs(text-input): Update TextInput README to reflect /testing import#3506jetpacmonkey merged 1 commit intomainfrom
Conversation
|
There was a problem hiding this comment.
Pull request overview
This PR updates the TextInput package README to reflect the correct import path for test utilities. The getTestUtils function should now be imported from @leafygreen-ui/text-input/testing rather than the main package export, aligning with the package's current structure.
Changes:
- Updated all code examples in the README to use the
/testingimport path forgetTestUtils - Split combined import statements into separate imports for the component and test utilities
|
Size Change: 0 B Total Size: 1.84 MB ℹ️ View Unchanged
|
|
Coverage after merging jeremy/text-input-docs-update into main will be
Coverage Report for Changed Files
|
tsck
left a comment
There was a problem hiding this comment.
LGTM! Thanks for the update!
✍️ Proposed changes
I noticed the README hadn't been updated here and was saying to import the test utils function from the wrong place.
🎟 Jira ticket: None, should I file one?
✅ Checklist
For new components
For bug fixes, new features & breaking changes
pnpm changesetand documented my changes🧪 How to test changes