diff --git a/sdk/src/RTCParticipation.ts b/sdk/src/RTCParticipation.ts index 4195d8988..caac7ec58 100644 --- a/sdk/src/RTCParticipation.ts +++ b/sdk/src/RTCParticipation.ts @@ -156,12 +156,10 @@ export function createRTCParticipation( options, transportFromBackends, logger, - ).then( - async (transport): Promise => ({ - transport, - ...(await backend.prepareLocalTransport(transport)), - }), - ), + ).then(async (transport): Promise => ({ + transport, + ...(await backend.prepareLocalTransport(transport)), + })), ); const localMembership = createLocalMembership$({ diff --git a/sdk/src/matrixrtc/LocalTransport.test.ts b/sdk/src/matrixrtc/LocalTransport.test.ts index d030b2b2d..9f72ee36a 100644 --- a/sdk/src/matrixrtc/LocalTransport.test.ts +++ b/sdk/src/matrixrtc/LocalTransport.test.ts @@ -36,8 +36,8 @@ function client( } function fromBackends( - transport: Transport|null = null, -): ReturnType Promise>> { + transport: Transport | null = null, +): ReturnType Promise>> { return vi.fn(async () => Promise.resolve(transport)); }