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
@kettanaito Why do we skip properties if they have the same name? The implementation may be still different
If I delete these lines my test passes because it calls to the correct implementation.
According to docs,
response.destroy(err)
emitserror
event.:https://github.com/nodejs/node/blob/main/lib/internal/streams/destroy.js#L136
Nock handles this by overriding the Socket class and propagate the event to the request.
@kettanaito
I tried to open a PR for this but couldn't understand how to do this, but I believe I'll be able to with your direction.
The text was updated successfully, but these errors were encountered: