react-hooks-testing-library icon indicating copy to clipboard operation
react-hooks-testing-library copied to clipboard

🐏 Simple and complete React hooks testing utilities that encourage good testing practices.

Results 63 react-hooks-testing-library issues
Sort by recently updated
recently updated
newest added

Bumps [kcd-scripts](https://github.com/kentcdodds/kcd-scripts) from 11.2.2 to 12.2.0. Release notes Sourced from kcd-scripts's releases. v12.2.0 12.2.0 (2022-04-05) Features update dependencies (#227) (4b01d0f) v12.1.0 12.1.0 (2022-03-07) Features update dependencies (#226) (c485fc0) v12.0.0 12.0.0...

dependencies
javascript

Bumps [docz-utils](https://github.com/doczjs/docz/tree/HEAD/core/docz-utils) from 2.3.0 to 2.4.0. Release notes Sourced from docz-utils's releases. 2.3.3-alpha.0 Bug Fixes babel-plugin-export-metadata: fix hasOwnProperty method call (#1581) (9067ffb) dev-env/basic: building and running development (#1646) (7baaaf2) docz:...

dependencies
javascript

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.1.0. Release notes Sourced from actions/setup-node's releases. Add caching support on GHES 3.5 In scope of this release we added support for caching from GHES...

dependencies
github_actions

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. Release notes Sourced from actions/checkout's releases. v3.0.0 Update default runtime to node16 v2.4.0 Convert SSH URLs like org-<ORG_ID>@github.com: to https://github.com/ - pr v2.3.5 Update...

dependencies
github_actions

- `react-hooks-testing-library` version: 7.0.1 - `react` version: 17.0.2 - `react-dom` version (if applicable): 17.0.2 - `react-test-renderer` version (if applicable): N/A - `node` version: 14.17.3 - `npm` (or `yarn`) version: 6.14.3...

bug

**What**: * BREAKING CHANGE: min supported version of node is 12.22 * Updates the deps we have in the package * Updates the workflow for testing against node versions **Why**:...

### To Reproduce ```bash yarn create react-app my-app --template typescript cd my-app/ yarn add --dev @testing-library/react-hooks react-test-renderer # add tests (see below) ``` ```tsx // issue.test.ts import {useEffect} from 'react';...

bug

### Describe the feature you'd like: Enhance the `rerender` usage to not require the use of a Javascript getter function for properties of `result`. It took approximately 45 minutes of...

enhancement

### Describe the feature you'd like: This feature has been mentioned previously in #631 and in [discord](https://discord.com/channels/723559267868737556/723852521734668299/882262040369057872) The ability to use a `Promise` with `waitFor` to wrap async behaviour in...

enhancement
request for comment

**What**: Fix for #648. Add `setDefaultWaitOptions` function **Why**: It simplifies configuration in environments where the defaults may not be optimal **How**: * Created a function to override default time options...