Update MockViewportHost with updateSimulation method

This commit is contained in:
2026-04-15 03:51:25 +02:00
parent 413da1d1ee
commit 0be8e9418b

View File

@@ -19,6 +19,7 @@ const { MockViewportHost, viewportHostInstances } = vi.hoisted(() => {
updateWorld: ReturnType<typeof vi.fn>;
updateAssets: ReturnType<typeof vi.fn>;
updateDocument: ReturnType<typeof vi.fn>;
updateSimulation: ReturnType<typeof vi.fn>;
setPanelId: ReturnType<typeof vi.fn>;
setViewMode: ReturnType<typeof vi.fn>;
setDisplayMode: ReturnType<typeof vi.fn>;
@@ -47,6 +48,7 @@ const { MockViewportHost, viewportHostInstances } = vi.hoisted(() => {
updateWorld = vi.fn();
updateAssets = vi.fn();
updateDocument = vi.fn();
updateSimulation = vi.fn();
setViewMode = vi.fn();
setDisplayMode = vi.fn();
setGridVisible = vi.fn();