react-testing-library
https://github.com/testing-library/react-testing-library
JavaScript
🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
JavaScript not yet supported4 Subscribers
Add a CodeTriage badge to react-testing-library
Help out
- Issues
- Provide example of how to test <details><summary>...
- Unable to getByRole figure with accessible name / description in figcaption
- On jest, `afterEach(cleanup)` is too late to unmount a component using `useSyncExternalStore` with asynchronous updating
- `fireEvent.mouseEnter` does not forward `relatedTarget` (relatedTarget is the window instead)
- feat: add support for multiple arguments in renderHook()
- test: add detailed <details><summary> interaction tests (closes #1405)
- Create autopart
- Test based on `findByText` assertion fails after 551ms, despite default timeout being 1000ms
- add example for testing <details> and <summary> interaction
- fix: fireEvent.mouseEnter not forwarding relatedTarget properly
- Docs
- JavaScript not yet supported