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
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
馃悰 Bug Report
I'm trying to test my simple function that retry an async function that throw an error
The retryFn calls the async function, if the function threw an error, it wait some time (setTimeout), and then call the function again
The test is here
https://github.com/sibelius/retry-fn/blob/master/src/__tests__/retryFn.spec.ts#L29
the second test throw this error:
it looks like the setTimeout was not resolved
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/sibelius/retry-fn.git
jest
Expected behavior
it should advance timers to pass setTimeout/delay call
Link to repl or repo (highly encouraged)
https://github.com/sibelius/retry-fn.git
envinfo
The text was updated successfully, but these errors were encountered: