testing/cross_backend/ws_round_trip.ts view source
CrossProcessWsTestOptions import type {CrossProcessWsTestOptions} from '@fuzdev/fuz_app/testing/cross_backend/ws_round_trip.js'; Configuration for .
setup_test
Per-test fixture producer (default_cross_process_setup(handle)).
The authenticated case reads the fresh-per-test keeper's session
cookies from fixture.transport.cookies() to thread onto the upgrade.
type SetupTest
capabilities
Backend capability flags; every case gates on capabilities.ws.
type BackendCapabilities
base_url
Base URL the backend is reachable at (e.g. http://localhost:1178).
type string
ws_path
WebSocket endpoint path on the backend (e.g. /api/ws).
type string
origin?
Origin for the authenticated upgrade. Defaults to base_url.
type string
rpc_path?
RPC endpoint path (e.g. /api/rpc) used by the close-on-revoke case to
fire account_session_revoke_all over the keeper's session channel.
When omitted, that case is skipped — it depends on the standard account
actions being mounted on the RPC endpoint.
type string