Skip to content

feat(session): add ignoreUnexpectedMessages configuration option#4875

Merged
noomorph merged 4 commits intowix:masterfrom
cunhabruno:4874-configurable-websocket-error-handling
Jan 20, 2026
Merged

feat(session): add ignoreUnexpectedMessages configuration option#4875
noomorph merged 4 commits intowix:masterfrom
cunhabruno:4874-configurable-websocket-error-handling

Conversation

@cunhabruno
Copy link
Contributor

@cunhabruno cunhabruno commented Nov 21, 2025

Description

Add configuration option to allow users to control whether Detox should throw or log warnings when receiving unexpected WebSocket messages. This is useful for applications with complex view hierarchies (e.g., React Native apps with WebViews) where legitimate messages might be received in unexpected contexts.


For features/enhancements:

  • I have added/updated the relevant references in the documentation files.

For API changes:

  • I have made the necessary changes in the types index file.

@noomorph noomorph enabled auto-merge (squash) January 13, 2026 19:09
@noomorph
Copy link
Collaborator

@d4vidi can you take a look here? It seems that I cannot merge :D so your review is welcome.

@d4vidi d4vidi removed their request for review January 14, 2026 15:28
@d4vidi
Copy link
Collaborator

d4vidi commented Jan 14, 2026

@noomorph I've removed myself from the reviewers list, how about now?

@noomorph noomorph merged commit aa89dfa into wix:master Jan 20, 2026
6 checks passed
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.

4 participants