Lint: fix all the lint errors

This commit is contained in:
Valere
2025-10-07 16:00:59 +02:00
parent 597e6782a8
commit c3c0516f0d
16 changed files with 206 additions and 97 deletions

View File

@@ -19,7 +19,7 @@ import { type ComponentProps } from "react";
import { MediaView } from "./MediaView";
import { EncryptionStatus } from "../state/MediaViewModel";
import { mockLocalParticipant } from "../utils/test";
import { mockLocalParticipant, mockMatrixRoomMember, mockRtcMembership } from "../utils/test";
describe("MediaView", () => {
const participant = mockLocalParticipant({});
@@ -45,7 +45,10 @@ describe("MediaView", () => {
mirror: false,
unencryptedWarning: false,
video: trackReference,
member: undefined,
member: mockMatrixRoomMember(
mockRtcMembership("@alice:example.org", "CCCC"),
{ name: "some name" },
),
localParticipant: false,
focusable: true,
};