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

Fix React warnings in tests #5

Merged
merged 2 commits into from
Aug 19, 2019
Merged

Conversation

bsonntag
Copy link
Contributor

This PR fixes the React warning in the tests about state updates outside act. This was done by updating the testing dependencies, namely react to version 16.9.0 which fixes most of the warnings. The remaining warnings in the useForm hook tests were fixed by adding waitForNextUpdate.

@rafaelcruzazevedo rafaelcruzazevedo merged commit 110e42a into master Aug 19, 2019
@rafaelcruzazevedo rafaelcruzazevedo deleted the bugfix/test-warnings branch August 19, 2019 16:09
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.

2 participants