-
Notifications
You must be signed in to change notification settings - Fork 326
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
Unhandled promise rejection in unit tests #1140
Comments
There's no autocomplete-input testid in that example, do you have a full reproduction? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hi all, I have a question about this custom react renderer example: examples/react-renderer/src/Autocomplete.tsx.
In out jest unit tests, we got the below error even if the tests passed.
Reproduction
Even if it's just
You will get the below error:
One way to fix this is to add a
setTiemout
but this is not ideal.
Could you please advise what is the best way to test?
Environment
The text was updated successfully, but these errors were encountered: