testing/cross_backend/ws_role_gated.ts view source
(options: WsRoleGatedCrossTestOptions): void import {describe_ws_role_gated_cross_tests} from '@fuzdev/fuz_app/testing/cross_backend/ws_role_gated.js'; Register the role-gated WebSocket suite: a revoked global grant of a gating role closes the account's gated socket with WS_CLOSE_PERMISSION_REVOKED, its ungated socket stays open and still receives the account's pushes, and a re-upgrade is refused at the gate; a scoped revoke of a gating role closes nothing.
That the closed registration is sent nothing more is beyond what a client can observe once it has read the close frame, so the suite does not claim it: each spine's own transport tests pin it.
options
returns
void