-
Notifications
You must be signed in to change notification settings - Fork 723
Why user-event
,jest-dom
are putting in small *ecosystem*? Those are de facto stuff within @testing-library/react
as almost React devs.
#515
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
Comments
Thanks for your feedback. We have reasons for keeping these things separate, though I think it's valid criticism that it can be confusing to figure out how to use them together, especially in the ways we recommend. We also plan on reorganizing the docs to make this all easier to learn. If you're using React, I'd encourage you to use create-react-app, as the template includes these packages (and we plan on adding the linter packages). Either way I'd be interested in any other feedback or frustrations you've having with using these tools together that I haven't mentioned yet.
Jest DOM is one of the only libraries in this organization that actually requires Jest. It provides Jest matchers to
We actually started to merge Until they're merged, I don't think |
That's completely where out side from my head, and now I agree with your current direction.
I didn't know these improvement works on going, I could have expectation Docs will getting better without my concern!
I think it's great idea because if visiter has a chance once to recognize thank you for your qualified answer that's make sense at all. |
Thanks again! I've opened #519 to discuss moving the user-event docs over. You can also subscribe to that issue if you'd like notifications. |
And more @kentcdodds always using
jest-dom
matcher on anywhere like https://kentcdodds.com/blog/react-is-an-implementation-detailAnd
user-event
is covering area where doesn't work wellfireEvent
, both API(Package) should be introduce same timing on document I think.Following current event firing document page only introduce
fireEvent
API.https://testing-library.com/docs/dom-testing-library/api-events
I love testing-library since just
react-testing-library
, so I'm glad to see more organized well that!Thank you 🤗
The text was updated successfully, but these errors were encountered: