mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-01 22:55:51 +00:00
Lint
This commit is contained in:
@@ -35,6 +35,8 @@ vitest.mock("../useAudioContext");
|
|||||||
vitest.mock("./InCallView");
|
vitest.mock("./InCallView");
|
||||||
|
|
||||||
vitest.mock("../rtcSessionHelpers", async (importOriginal) => {
|
vitest.mock("../rtcSessionHelpers", async (importOriginal) => {
|
||||||
|
// TODO: perhaps there is a more elegant way to manage the type import here?
|
||||||
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
||||||
const orig = await importOriginal<typeof import("../rtcSessionHelpers")>();
|
const orig = await importOriginal<typeof import("../rtcSessionHelpers")>();
|
||||||
vitest.spyOn(orig, "leaveRTCSession");
|
vitest.spyOn(orig, "leaveRTCSession");
|
||||||
return orig;
|
return orig;
|
||||||
|
|||||||
Reference in New Issue
Block a user