react-hooks-testing-library
react-hooks-testing-library copied to clipboard
🐏 Simple and complete React hooks testing utilities that encourage good testing practices.
### Describe the feature you'd like: The wait* methods take optional `interval` and `timeout` values, and fall back to hard coded defaults if not set. I would like for the...
- `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): 17.0.2 - `node` version: 15.13.10 - `npm` (or `yarn`) version: 1.22.10(yarn)...
### Describe the feature you'd like: It's been discussed a lot in other issues, but never formally proposed, to remove the `result.error` property and instead simply allow rendering errors be...
### What is your question: I'm sorta ashamed to admit it, but it's unclear to me how to use the async utils based on the docs. I've had to dig...
I'm working on the improved docs in #19 and I'm struggling a bit with the section on changing the parameters passed to the hooks. Essentially, my issue is that there...
There is an existing PR created to add docs to `testing-library-docs` from when `testHook` was part of `react-testing-library`. Since it was removed and the code merged with this library, the...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.1.1. Release notes Sourced from codecov/codecov-action's releases. 3.1.1 What's Changed Update deprecation warning by @slifty in codecov/codecov-action#661 Create codeql-analysis.yml by @mitchell-codecov in codecov/codecov-action#593 build(deps): bump...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.11.0 to 5.38.0. Release notes Sourced from @typescript-eslint/parser's releases. v5.38.0 5.38.0 (2022-09-19) Features website: add warning on top of formatting rule docs pages (#5598) (5dfa2e9) v5.37.0 5.37.0...
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.23.1. Release notes Sourced from eslint's releases. v8.23.1 Bug Fixes b719893 fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills) 734b54e fix: improve autofix...
Hi, I have the following **snapshot serializer**:  I've set it up (globally), so Jest uses it when unit tests are running:  It works nicely with `render()` method of...