refact: extract withCallViewModel in test utils file

This commit is contained in:
Valere
2025-11-14 17:30:02 +01:00
parent b731c2e9fd
commit 6d8d2d2384
4 changed files with 188 additions and 137 deletions

View File

@@ -12,8 +12,8 @@ import { constant } from "./Behavior.ts";
import { aliceParticipant, localRtcMember } from "../utils/test-fixtures.ts";
import { ElementWidgetActions, widget } from "../widget.ts";
import { E2eeType } from "../e2ee/e2eeType.ts";
import { withCallViewModel } from "./CallViewModel/CallViewModel.test.ts";
import { type CallViewModel } from "./CallViewModel/CallViewModel.ts";
import { withCallViewModel } from "./CallViewModel/CallViewModelTestUtils.test";
vi.mock("../widget", () => ({
ElementWidgetActions: {