From 12a412ce11b5f1d12abe225490437f082a0917cc Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Tue, 10 Dec 2024 13:41:04 +0000 Subject: [PATCH] more test bits --- src/tile/GridTile.test.tsx | 1 + src/utils/test.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/tile/GridTile.test.tsx b/src/tile/GridTile.test.tsx index c0cf9c48..41476bdb 100644 --- a/src/tile/GridTile.test.tsx +++ b/src/tile/GridTile.test.tsx @@ -44,6 +44,7 @@ test("GridTile is accessible", async () => { off: () => {}, client: { getUserId: () => null, + getDeviceId: () => null, on: () => {}, off: () => {}, }, diff --git a/src/utils/test.ts b/src/utils/test.ts index 459a252e..93a4c133 100644 --- a/src/utils/test.ts +++ b/src/utils/test.ts @@ -200,6 +200,8 @@ export async function withLocalMedia( kind: E2eeType.PER_PARTICIPANT, }, mockLivekitRoom({ localParticipant }), + of(undefined), + of(undefined), ); try { await continuation(vm); @@ -236,6 +238,8 @@ export async function withRemoteMedia( kind: E2eeType.PER_PARTICIPANT, }, mockLivekitRoom({}, { remoteParticipants: of([remoteParticipant]) }), + of(undefined), + of(undefined), ); try { await continuation(vm);