react-testing-library
react-testing-library copied to clipboard
🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
- `@testing-library/react` version: 16.3.0 - Testing Framework and version: jest 30.0.5 - DOM Environment: jest-environment-jsdom 30.0.5 ### Relevant code or config: ```js Foo Bar ``` ### What you did: What...
- `@testing-library/react` version: 16.3.0 - Testing Framework and version: Tested in `[email protected]` and `[email protected]` - DOM Environment: `[email protected]` - Node 20 or 22 ### Relevant code or config: ```js //...
**What**: **Why**: **How**: **Checklist**: - [ ] Documentation added to the [docs site](https://github.com/testing-library/testing-library-docs) - [x] Tests - [ ] TypeScript definitions updated - [ ] Ready to be merged
**What**: **Why**: **How**: **Checklist**: - [ ] Documentation added to the [docs site](https://github.com/testing-library/testing-library-docs) - [ ] Tests - [ ] TypeScript definitions updated - [ ] Ready to be merged
### Relevant code or config: ```js accordion item 1 some accordion 1 content ``` or i like this example from mn docs ``` Graduation Requirements Requires 40 credits, including a...
**What**: Add support for multiple arguments for function `renderHook`. Fixes #1350. **Why**: Hooks can take multiple arguments. The current implementation assumes a single argument (derived from `render` taking a single...