Closed kettanaito closed 1 week ago
This has been released in v0.37.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.
Motivation
Mostly to support passthrough responses like
101 Switching Protocols
that happen in the apps that use WebSockets. Technically, also unblocks mocking non-configurable responses, but you have to use custom logic to make that happen (sincenew Response()
will still throw per spec).