This commit is contained in:
Timo K.
2026-10-14 19:03:22 +02:00
parent 281fff0e9f
commit 2b26fd472f
2 changed files with 6 additions and 8 deletions
+4 -6
View File
@@ -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$({
+2 -2
View File
@@ -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));
}