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
{{ message }}
Repository navigation
MockAgent not compatible with ProxyAgent,EnvHttpProxyAgent,RetryAgent #3444
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.
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.
Activity
mcollina commentedon Aug 9, 2024
Thanks for reporting!
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.
Uzlopak commentedon Aug 23, 2024
Could reproduce it... provided potential fix in #3497