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
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Object]".] {
code: 'ERR_UNHANDLED_REJECTION'
}
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: