Closed kettanaito closed 6 months ago
This has been released in v0.27.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.
Changes
Outgoing client messages are now forwarded to the actual server by default after
server.connect()
is called. To prevent this, callevent.preventDefault()
on the respective client message.Roadmap
event.preventDefault()
test for the client-to-server forwarding prevention.README
to reflect this change.