mswjs / interceptors

Low-level network interception library.
https://npm.im/@mswjs/interceptors
MIT License
535 stars 120 forks source link

fix(ClientRequest): suppress the "EHOSTUNREACH" connection error #467

Closed kettanaito closed 10 months ago

kettanaito commented 10 months ago

When testing on Node.js 18.14.2, I get a different error from the ENETUNREACH test case:

[Error: connect EHOSTUNREACH 2607:f0d0:1002:51::4:80 - Local (:::59828)]

This may be related to different versions of Node.js. I'm adding the EHOSTUNREACH error to the list of suppressed errors as well.

kettanaito commented 10 months ago

Released: v0.25.7 🎉

This has been released in v0.25.7!

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.