Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @testing-library/react-hooks to v5 #375

Merged
merged 1 commit into from
Mar 28, 2021

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 13, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/react-hooks 4.0.1 -> 5.1.0 age adoption passing confidence

Release Notes

testing-library/react-hooks-testing-library

v5.1.0

Compare Source

Features

v5.0.3

Compare Source

Bug Fixes
  • fixed potential error when hook suspends and error is accessed (1a0c4d3)

v5.0.2

Compare Source

Bug Fixes
Code Refactoring

Note: due to a technical glitch, there was no v5.0.1 release.

v5.0.0

Compare Source

Bug Fixes
  • constrain TOptions to be an object instead of an empty interface (3813b88)
  • display returned function names correctly in stack traces (#​528) (a82d5ef)
  • fixed potential error when hook suspends and current result is accessed (dc21e59)
  • include render utils in RenderHook type (ca32bce)
  • ReactHooksRenderer renderHook was not expecting arguments (bb870e0)
  • stop appending container elements to document body (bab38d9)
  • Type for options in autodetected renderer was incorrectly inferring any passed type (#​527) (4786242)
  • use actual line break in error message when auto-detect fails (a3fd0e2)
Code Refactoring
Features
BREAKING CHANGES
  • interval will now default to 50ms in async utils
  • timeout will now default to 1000ms in async utils
  • suppressErrors has been removed from async utils
  • Adjust types so that react renderer exports don't required extra generic parameter
  • Importing from renderHook and act from @testing-library/react-hooks will now auto-detect which renderer to used based on the project's dependencies
    • peerDependencies are now optional to support different dependencies being required
    • This means there will be no warning if the dependency is not installed at all, but it will still warn if an incompatible version is installed
    • Auto-detection won't work with bundlers (e.g. Webpack). Please use as specific renderer import instead
  • result.current and result.error will now return undefined instead of null when the hook call suspends and they are accessed prior to being set for the first time
    • Note: accessing these values in a suspending scenario has been broken since version 3.6.0

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the renovate label Jan 13, 2021
@renovate
Copy link
Author

renovate bot commented Jan 13, 2021

Branch automerge failure

This PR was configured for branch automerge, however this is not possible so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-5.x branch 4 times, most recently from 1d31359 to bd69744 Compare January 18, 2021 23:24
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-5.x branch 2 times, most recently from 4ac4f09 to d088d7a Compare January 24, 2021 09:31
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-5.x branch 7 times, most recently from 4142307 to 8d6a9ee Compare February 5, 2021 00:56
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-5.x branch 8 times, most recently from a33bb3d to 73801e8 Compare February 12, 2021 07:43
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-5.x branch 6 times, most recently from 6f781bd to 0e1517a Compare February 18, 2021 04:45
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-5.x branch 9 times, most recently from 2596918 to 93edd2e Compare March 13, 2021 09:53
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-5.x branch 5 times, most recently from ac1837b to 932061c Compare March 22, 2021 22:35
@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-5.x branch 11 times, most recently from 9e66e0a to 0bd1b64 Compare March 28, 2021 21:07
@codecov
Copy link

codecov bot commented Mar 28, 2021

Codecov Report

Merging #375 (5ce5b5e) into master (374446c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #375   +/-   ##
=======================================
  Coverage   99.28%   99.28%           
=======================================
  Files           2        2           
  Lines         139      139           
  Branches       25       25           
=======================================
  Hits          138      138           
  Misses          1        1           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 374446c...5ce5b5e. Read the comment docs.

@renovate renovate bot force-pushed the renovate/testing-library-react-hooks-5.x branch from 0bd1b64 to 5ce5b5e Compare March 28, 2021 21:09
@renovate renovate bot merged commit 51fc28a into master Mar 28, 2021
@renovate renovate bot deleted the renovate/testing-library-react-hooks-5.x branch March 28, 2021 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant