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
- `waitFor` utils are not wrapped in `act` so some state updates are not applied to the DOM
- Support Node.js fake timers
- Update README.md
- Error: Objects are not valid as a React child ...
- feat: add render hook support for multiple arguments
- `render` does not `await act()`
- How to test functions inside functional component and also using hooks values
- @testing-library/react behaves differently when dealing with Suspense in React 18 and React 19
- renderHook support for multiple parameters
- Having `afterEach(cleanup)` in the test setup file breaks exported `screen` module on Bun test
- Docs
- JavaScript not yet supported