Lint: fix all the lint errors
This commit is contained in:
@@ -68,7 +68,7 @@ import {
|
||||
type ECConnectionState,
|
||||
} from "../livekit/useECConnectionState";
|
||||
import { E2eeType } from "../e2ee/e2eeType";
|
||||
import type { RaisedHandInfo } from "../reactions";
|
||||
import type { RaisedHandInfo, ReactionInfo } from "../reactions";
|
||||
import {
|
||||
alice,
|
||||
aliceDoppelganger,
|
||||
@@ -95,6 +95,7 @@ import { ObservableScope } from "./ObservableScope";
|
||||
import { MediaDevices } from "./MediaDevices";
|
||||
import { getValue } from "../utils/observable";
|
||||
import { type Behavior, constant } from "./Behavior";
|
||||
import type { ProcessorState } from "../livekit/TrackProcessorContext.tsx";
|
||||
|
||||
const getUrlParams = vi.hoisted(() => vi.fn(() => ({})));
|
||||
vi.mock("../UrlParams", () => ({ getUrlParams }));
|
||||
@@ -341,6 +342,7 @@ function withCallViewModel(
|
||||
.mockImplementation((_room, _eventType) => of());
|
||||
const muteStates = mockMuteStates();
|
||||
const raisedHands$ = new BehaviorSubject<Record<string, RaisedHandInfo>>({});
|
||||
const reactions$ = new BehaviorSubject<Record<string, ReactionInfo>>({});
|
||||
|
||||
const vm = new CallViewModel(
|
||||
rtcSession as unknown as MatrixRTCSession,
|
||||
@@ -349,7 +351,8 @@ function withCallViewModel(
|
||||
muteStates,
|
||||
options,
|
||||
raisedHands$,
|
||||
new BehaviorSubject({}),
|
||||
reactions$,
|
||||
new BehaviorSubject<ProcessorState>({ processor: undefined, supported: undefined }),
|
||||
);
|
||||
|
||||
onTestFinished(() => {
|
||||
|
||||
Reference in New Issue
Block a user