testing/sse_round_trip.ts view source
(options: SseRouteTestOptions): void Run SSE route validation tests.
For each route: opens an authenticated SSE connection, asserts the connected comment, fires the trigger, validates the resulting payload, then asserts close-on-revoke (unless opted out).
options
returns
void throws
Error- at setup time when `options.rpc_endpoints` is empty — the