update vite vitest and rollup

(rollup needs updating to fix a security alert)
This commit is contained in:
Timo K
2026-03-12 12:10:17 +01:00
parent af54b39698
commit 6b8f6e9405
5 changed files with 267 additions and 300 deletions

View File

@@ -30,7 +30,13 @@ import {
} from "../utils/test";
import { initializeWidget } from "../widget";
initializeWidget();
export const TestAudioContextConstructor = vi.fn(() => testAudioContext);
export const TestAudioContextConstructor = vi.fn(
class {
public constructor() {
return testAudioContext;
}
},
);
const MediaDevicesProvider = MediaDevicesContext.MediaDevicesContext.Provider;