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
- Test works in isolation but fails alongside other RTL-based tests
- wrapper context is not shared with `renderHook`
- fix: esm output's extension to .mjs
- React-Aria Component Combobox is not Fully rendering in Consuming Application Tests
- RTL + Vitest issue with patching asyncWrapper/eventWrapper (with act()) for userEvent APIs
- Warning: The current testing environment is not configured to support act(...)
- When `container` is `document`, cleanup steps fails with "TypeError: Cannot read properties of null (reading 'removeChild')"
- Strange behavor when using `renderHook` with `wrapper` option
- Generics not supported when using bound functions
- asyncWrapper is not executed with act support
- Docs
- JavaScript not yet supported