Closed kettanaito closed 4 months ago
This has been released in v0.26.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.
Calling
.revoke()
on a revocable Proxy does not restore its impementation. I was wrong to assume that. It simply blows up the proxy object so any object operations that result in a trap throw.Also added a test to ensure that the restored
WebSocket
class is fully operational after the interceptor is disposed.