add initializeWidget to tests.

This commit is contained in:
Timo K
2026-01-22 19:38:39 +01:00
parent b754106feb
commit 220fc51eb5
9 changed files with 20 additions and 4 deletions

View File

@@ -39,7 +39,8 @@ import {
localRtcMember,
} from "../utils/test-fixtures";
import { MAX_PARTICIPANT_COUNT_FOR_SOUND } from "../state/CallViewModel/CallViewModel";
import { initializeWidget } from "../widget";
initializeWidget();
vitest.mock("livekit-client/e2ee-worker?worker");
vitest.mock("../useAudioContext");
vitest.mock("../soundUtils");