You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, it actually shows the migration path for waitForValueToChange which was already handled in the previous section. The code seems erroneously repeated.
Suggested solution:
Provide a proper code migration path, where the "before" state actually uses the waitForNextUpdate API.
The text was updated successfully, but these errors were encountered:
react-hooks-testing-library
version: N/Areact
version: N/Areact-dom
version (if applicable): N/Areact-test-renderer
version (if applicable): N/Anode
version: N/Anpm
(oryarn
) version: N/ARelevant code or config:
N/A
What you did:
I read https://github.com/testing-library/react-hooks-testing-library/blob/chore/migration-guide/MIGRATION_GUIDE.md#waitfornextupdate (section
waitForNextUpdate
).What happened:
That section shows the following code snippet:
Reproduction:
N/A, this is a docs change.
Problem description:
As you can see, it actually shows the migration path for
waitForValueToChange
which was already handled in the previous section. The code seems erroneously repeated.Suggested solution:
Provide a proper code migration path, where the "before" state actually uses the
waitForNextUpdate
API.The text was updated successfully, but these errors were encountered: