Skip to content

test(ws): add unhandled exceptions test#2656

Merged
kettanaito merged 1 commit into
mainfrom
fix/ws-unhandled-exceptions
Feb 2, 2026
Merged

test(ws): add unhandled exceptions test#2656
kettanaito merged 1 commit into
mainfrom
fix/ws-unhandled-exceptions

Conversation

@kettanaito
Copy link
Copy Markdown
Member

@kettanaito kettanaito commented Feb 2, 2026

This adds a test for the issue described. The test is passing as-is so it seems like the issue has been addressed in the Interceptors, most likely be changing this.emitter.emit() to emitAsync for the WebSocket connection event.

@kettanaito kettanaito force-pushed the fix/ws-unhandled-exceptions branch from 58e9fc1 to d367031 Compare February 2, 2026 10:50
@kettanaito kettanaito changed the title Fix/ws unhandled exceptions test(ws): add unhandled exceptions test Feb 2, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Feb 2, 2026

Open in StackBlitz

npm i https://pkg.pr.new/msw@2656

commit: d367031

@kettanaito kettanaito merged commit 8a84a05 into main Feb 2, 2026
21 checks passed
@kettanaito kettanaito deleted the fix/ws-unhandled-exceptions branch February 2, 2026 11:06
@kettanaito
Copy link
Copy Markdown
Member Author

Released: v2.12.8 🎉

This has been released in v2.12.8.

Get these changes by running the following command:

npm i msw@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.

Bug: Unhandled errors aren't translated to WebSocket error event

1 participant