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
- Warning: The current testing environment is not configured to support act(...)
- Do not want to install react & react-dom dependency in node_modules
- When `container` is `document`, cleanup steps fails with "TypeError: Cannot read properties of null (reading 'removeChild')"
- support `document` containers in cleanup
- Strange behavor when using `renderHook` with `wrapper` option
- Generics not supported when using bound functions
- asyncWrapper is not executed with act support
- Support for `onCaughtError` and `onUncaughtError` on root
- Calling render on a component that throws, results in 4 renders
- use rerender props in wrapper
- Docs
- JavaScript not yet supported