Update tests to include updateSimulation method in MockViewportHost

This commit is contained in:
2026-04-15 15:14:28 +02:00
parent 41bb2d9e24
commit ab8bc238bd
7 changed files with 16 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ const { MockViewportHost, viewportHostInstances } = vi.hoisted(() => {
mount: ReturnType<typeof vi.fn>;
dispose: ReturnType<typeof vi.fn>;
updateWorld: ReturnType<typeof vi.fn>;
updateSimulation: ReturnType<typeof vi.fn>;
updateAssets: ReturnType<typeof vi.fn>;
updateDocument: ReturnType<typeof vi.fn>;
setViewMode: ReturnType<typeof vi.fn>;
@@ -57,6 +58,7 @@ const { MockViewportHost, viewportHostInstances } = vi.hoisted(() => {
mount = vi.fn();
dispose = vi.fn();
updateWorld = vi.fn();
updateSimulation = vi.fn();
updateAssets = vi.fn();
updateDocument = vi.fn();
setViewMode = vi.fn();