Skip to content

Move RPC registration to room level #3684

Move RPC registration to room level

Move RPC registration to room level #3684

Triggered via pull request February 4, 2025 13:38
Status Failure
Total duration 34s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
src/room/participant/LocalParticipant.test.ts > LocalParticipant > registerRpcMethod > should register an RPC method handler: src/room/participant/LocalParticipant.ts#L1885
TypeError: Cannot read properties of undefined (reading 'has') ❯ LocalParticipant.registerRpcMethod src/room/participant/LocalParticipant.ts:1885:26 ❯ src/room/participant/LocalParticipant.test.ts:41:24
src/room/participant/LocalParticipant.test.ts > LocalParticipant > registerRpcMethod > should catch and transform unhandled errors in the RPC method handler: src/room/participant/LocalParticipant.ts#L1885
TypeError: Cannot read properties of undefined (reading 'has') ❯ LocalParticipant.registerRpcMethod src/room/participant/LocalParticipant.ts:1885:26 ❯ src/room/participant/LocalParticipant.test.ts:87:24
src/room/participant/LocalParticipant.test.ts > LocalParticipant > registerRpcMethod > should pass through RpcError thrown by the RPC method handler: src/room/participant/LocalParticipant.ts#L1885
TypeError: Cannot read properties of undefined (reading 'has') ❯ LocalParticipant.registerRpcMethod src/room/participant/LocalParticipant.ts:1885:26 ❯ src/room/participant/LocalParticipant.test.ts:130:24
test
Process completed with exit code 1.