Closed kettanaito closed 6 months ago
This has been released in v0.26.11!
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.
Allows closing the actual server connection by adding a new
server.close()
method.Todo
server.addEventListener('close')
to know when the original server closes the connection.server.close()
isn't that nice. Consider a different logic? For example, properly awaiting the close frame and then doing theserver.connect()
would solve this.