mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-16 23:45:50 +00:00
fmt
This commit is contained in:
@@ -156,12 +156,10 @@ export function createRTCParticipation(
|
||||
options,
|
||||
transportFromBackends,
|
||||
logger,
|
||||
).then(
|
||||
async (transport): Promise<PreparedTransport> => ({
|
||||
transport,
|
||||
...(await backend.prepareLocalTransport(transport)),
|
||||
}),
|
||||
),
|
||||
).then(async (transport): Promise<PreparedTransport> => ({
|
||||
transport,
|
||||
...(await backend.prepareLocalTransport(transport)),
|
||||
})),
|
||||
);
|
||||
|
||||
const localMembership = createLocalMembership$({
|
||||
|
||||
@@ -36,8 +36,8 @@ function client(
|
||||
}
|
||||
|
||||
function fromBackends(
|
||||
transport: Transport|null = null,
|
||||
): ReturnType<typeof vi.fn<() => Promise<Transport|null>>> {
|
||||
transport: Transport | null = null,
|
||||
): ReturnType<typeof vi.fn<() => Promise<Transport | null>>> {
|
||||
return vi.fn(async () => Promise.resolve(transport));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user