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
ProxyAgent, EnvHttpProxyAgent, RetryAgent can't be passed to new MockAgent({ agent }), because they're missing closed and destroyed props.
Environment
Win 10, Node v20.13.1
Additional context
Not sure if I am approching this correctly, but I would like to handle non-itercepted requests exactly the same way as they would be by the app. So my assumption is that I am supposed to pass an agent used by my application to MockAgent and it will be used for non-intercepted requests.
The text was updated successfully, but these errors were encountered:
Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.
Bug Description
ProxyAgent
,EnvHttpProxyAgent
,RetryAgent
can't be passed tonew MockAgent({ agent })
, because they're missingclosed
anddestroyed
props.Environment
Win 10, Node v20.13.1
Additional context
Not sure if I am approching this correctly, but I would like to handle non-itercepted requests exactly the same way as they would be by the app. So my assumption is that I am supposed to pass an agent used by my application to
MockAgent
and it will be used for non-intercepted requests.The text was updated successfully, but these errors were encountered: