Skip to content

fix: export resolveWebSocketUrl function#764

Merged
kettanaito merged 1 commit intomainfrom
fix/export-resolve-ws-url
Feb 6, 2026
Merged

fix: export resolveWebSocketUrl function#764
kettanaito merged 1 commit intomainfrom
fix/export-resolve-ws-url

Conversation

@kettanaito
Copy link
Member

MSW can use this utility to resolve the url argument provided to WebSocketHandler before path matching. Otherwise, the protocols of actual/expected URLs will always mismatch.

@kettanaito kettanaito merged commit eecdb7c into main Feb 6, 2026
2 of 3 checks passed
@kettanaito kettanaito deleted the fix/export-resolve-ws-url branch February 6, 2026 14:13
@kettanaito
Copy link
Member Author

Released: v0.41.2 🎉

This has been released in v0.41.2.

Get these changes by running the following command:

npm i @mswjs/interceptors@latest

Predictable release automation by Release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant