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
+2
View File
@@ -20,6 +20,8 @@ import {
import { constant } from "./Behavior";
import { ObservableScope } from "./ObservableScope";
import { flushPromises, mockMediaDevices } from "../utils/test";
import { initializeWidget } from "../widget";
initializeWidget();
const getUrlParams = vi.hoisted(() => vi.fn(() => ({})));
vi.mock("../UrlParams", () => ({ getUrlParams }));