Closed mikicho closed 4 months ago
Can you please give it a quick try by adding the error code (ENETUNREACH
) to the list of suppressed error codes here:
I think that may solve the issue. We keep an internal list of socket errors to ignore to know that those are expecting, such as when trying to connect to an address that doesn't exist.
Yes. It does solve it. Thanks! I focus on fixing nocks tests, so I'll open a PR later.
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.
@kettanaito Eventually we didn't fix this in https://github.com/mswjs/interceptors/pull/454. Can you please reopen this?
@mikicho, thanks for letting me know. Apologies, I've been busy with the MSW 2.0 release and everything around so I fell off our effort here. It is still something I want to achieve so please ping me anywhere I can help.
This has been released in v0.29.0!
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.
Maybe I'm missing something but:
Prints:
Logs: