mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-05 04:15:58 +00:00
fixup MediaView tests
This commit is contained in:
@@ -19,11 +19,7 @@ import { type ComponentProps } from "react";
|
||||
|
||||
import { MediaView } from "./MediaView";
|
||||
import { EncryptionStatus } from "../state/MediaViewModel";
|
||||
import {
|
||||
mockLocalParticipant,
|
||||
mockMatrixRoomMember,
|
||||
mockRtcMembership,
|
||||
} from "../utils/test";
|
||||
import { mockLocalParticipant } from "../utils/test";
|
||||
|
||||
describe("MediaView", () => {
|
||||
const participant = mockLocalParticipant({});
|
||||
@@ -49,10 +45,7 @@ describe("MediaView", () => {
|
||||
mirror: false,
|
||||
unencryptedWarning: false,
|
||||
video: trackReference,
|
||||
member: mockMatrixRoomMember(
|
||||
mockRtcMembership("@alice:example.org", "CCCC"),
|
||||
{ name: "some name" },
|
||||
),
|
||||
member: undefined,
|
||||
localParticipant: false,
|
||||
focusable: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user