mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
more test bits
This commit is contained in:
@@ -44,6 +44,7 @@ test("GridTile is accessible", async () => {
|
|||||||
off: () => {},
|
off: () => {},
|
||||||
client: {
|
client: {
|
||||||
getUserId: () => null,
|
getUserId: () => null,
|
||||||
|
getDeviceId: () => null,
|
||||||
on: () => {},
|
on: () => {},
|
||||||
off: () => {},
|
off: () => {},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -200,6 +200,8 @@ export async function withLocalMedia(
|
|||||||
kind: E2eeType.PER_PARTICIPANT,
|
kind: E2eeType.PER_PARTICIPANT,
|
||||||
},
|
},
|
||||||
mockLivekitRoom({ localParticipant }),
|
mockLivekitRoom({ localParticipant }),
|
||||||
|
of(undefined),
|
||||||
|
of(undefined),
|
||||||
);
|
);
|
||||||
try {
|
try {
|
||||||
await continuation(vm);
|
await continuation(vm);
|
||||||
@@ -236,6 +238,8 @@ export async function withRemoteMedia(
|
|||||||
kind: E2eeType.PER_PARTICIPANT,
|
kind: E2eeType.PER_PARTICIPANT,
|
||||||
},
|
},
|
||||||
mockLivekitRoom({}, { remoteParticipants: of([remoteParticipant]) }),
|
mockLivekitRoom({}, { remoteParticipants: of([remoteParticipant]) }),
|
||||||
|
of(undefined),
|
||||||
|
of(undefined),
|
||||||
);
|
);
|
||||||
try {
|
try {
|
||||||
await continuation(vm);
|
await continuation(vm);
|
||||||
|
|||||||
Reference in New Issue
Block a user