Skip to content

Commit

Permalink
fixup test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Dec 19, 2024
1 parent 6b8c1bd commit 9abc180
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ export async function withLocalMedia(
kind: E2eeType.PER_PARTICIPANT,
},
mockLivekitRoom({ localParticipant }),
of(roomMember.rawDisplayName ?? "nodisplayname"),
);
try {
await continuation(vm);
Expand Down Expand Up @@ -239,6 +240,7 @@ export async function withRemoteMedia(
kind: E2eeType.PER_PARTICIPANT,
},
mockLivekitRoom({}, { remoteParticipants$: of([remoteParticipant]) }),
of(roomMember.rawDisplayName ?? "nodisplayname"),
);
try {
await continuation(vm);
Expand Down

0 comments on commit 9abc180

Please sign in to comment.