Skip to content

Sync with react-hooks-testing-library 3.4.1 to deprecate wait #7

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

Closed
aduth opened this issue Sep 13, 2020 · 0 comments · Fixed by #9
Closed

Sync with react-hooks-testing-library 3.4.1 to deprecate wait #7

aduth opened this issue Sep 13, 2020 · 0 comments · Fixed by #9

Comments

@aduth
Copy link
Contributor

aduth commented Sep 13, 2020

@testing-library/[email protected] deprecates wait in favor of waitFor:

The wait async util has been deprecated and replaced with waitFor

https://github.com/testing-library/react-hooks-testing-library/releases/tag/v3.4.1

Expected: @testing-library/preact-hooks offers waitFor, and logs on wait as deprecated.
Actual: waitFor does not exist, and wait does not log as deprecated.

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 a pull request may close this issue.

1 participant