Skip to content

Conversation

@QuiiBz
Copy link
Contributor

@QuiiBz QuiiBz commented Jun 6, 2022

Following testing-library/react-testing-library#991, this PR migrates from @testing-library/react-hooks to @testing-library/react for renderHook.

This PR also replaces the usage of waitForNextUpdate by waitfor, and remove completely the @testing-library/react-hooks package which allows all our tests to run with React 18.

@codecov
Copy link

codecov bot commented Jun 6, 2022

Codecov Report

Merging #828 (539cd89) into main (2a1a108) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #828   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        21           
  Lines          556       556           
  Branches        78        78           
=========================================
  Hits           556       556           

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 2a1a108...539cd89. Read the comment docs.

@QuiiBz QuiiBz enabled auto-merge (squash) June 9, 2022 09:58
@QuiiBz QuiiBz merged commit 9b45e63 into main Jun 9, 2022
@QuiiBz QuiiBz deleted the chore/testing-lib-render-hook branch June 9, 2022 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants