-
-
Notifications
You must be signed in to change notification settings - Fork 745
Closed
mswjs/interceptors
#701Labels
Description
Please avoid duplicates
- I checked all open bugs and none of them matched my problem.
Reproducible test case
https://github.com/ddolcimascolo/nock-axios-agent-issue
Nock Version
14
Node Version
22
TypeScript Version
No response
What happened?
Simply require
-ing nock make the Axios request fail with the (expected) TLS error. The custom httpsAgent
was ignored.
Comment out the require
of nock and the request pass.
Additional info, I didn't even started to setup request interception with nock, it's just required.
Would you be interested in contributing a fix?
- yes