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
See that the fixture is called 3 times, and the get request ultimately fails.
I've written a small test script, from what it looks like the failure happens immediately after the exeption even though the retry callback is called 3 times afterwards.
I think the problem is with superagent-mock that don't handle superagent's retry method. We don't use the retry feature of superagent, but feel free to open a PR to fix this bug 😉
I'm trying to do the following
I've written a small test script, from what it looks like the failure happens immediately after the exeption even though the retry callback is called 3 times afterwards.
Here's my script
Output is
failed
__retrying
__retrying
__retrying
Is there an error with how superagent-mock interacts with retry or am I approaching this the wrong way?
The text was updated successfully, but these errors were encountered: