react-hooks-testing-library
react-hooks-testing-library copied to clipboard
π Simple and complete React hooks testing utilities that encourage good testing practices.
**What**: Update the React 18 upgrade docs **Why**: To make it easier to upgrade to React 18 **How**: To document what the developer can do to upgrade to React 18...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.11.0 to 5.33.0. Release notes Sourced from @βtypescript-eslint/parser's releases. v5.33.0 5.33.0 (2022-08-08) Bug Fixes eslint-plugin: [no-extra-parens] handle await with type assertion (#5428) (e03826f) website: add explicit frontmatter...
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.21.0. Release notes Sourced from eslint's releases. v8.21.0 Features 7b43ea1 feat: Implement FlatESLint (#16149) (Nicholas C. Zakas) 92bf49a feat: improve the key width calculation in...
- `react-hooks-testing-library` version: 7.0.0 - `react` version: 17.0.2 - `react-dom` version: 17.0.2 - `node` version: 14.16.0 - `npm` version: 7.10.0 ### Problem When using `waitFor` when Jest has been configured...
I've tried setting this up using the example provided in the documentation: Whenever I try running the using Jest, I get the following error: It seems like it's something related...
**What**: Closes https://github.com/testing-library/react-hooks-testing-library/issues/873 **Why**: There's little value in `waitFor` if one has to advance timers by themselves. **How**: Copy implementation from `@testing-library/dom`. There's an opportunity to write a more generic...
Hey, I get some of my tests timing out when using waitFor and jest.useFakeTimers, but not using a timer internally, but only `Promise.resolve`. As a context I'm trying to migrate...
- `react-hooks-testing-library` version: 7.0.2 - `react` version: 17.0.1 - `react-dom` version (if applicable): 17.0.1 - `react-test-renderer` version (if applicable): 17.0.1 - `node` version: 14.17 - `npm` (or `yarn`) version: 8.4.0...
Hi!, Im starting to test my hooks (in a POC stage), I have a simple test that works but I get the following warning that I dont know how can...
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.1 to 0.10.0. Release notes Sourced from styfle/cancel-workflow-action's releases. 0.10.0 Changes Feat(all):support for considering all workflows with one term: #165 Chore: rebuild: 74a81dc1a9321342ebc12fa8670cc91600c8c494 Chore: update main.yml: #78...