diff --git a/tests/unit/viewport-canvas.test.tsx b/tests/unit/viewport-canvas.test.tsx index fa7d3ae2..adc90064 100644 --- a/tests/unit/viewport-canvas.test.tsx +++ b/tests/unit/viewport-canvas.test.tsx @@ -150,8 +150,7 @@ describe("ViewportCanvas", () => { panelId="topLeft" world={sceneDocument.world} sceneDocument={sceneDocument} - editorSimulationScene={null} - editorSimulationClock={null} + editorSimulationController={new EditorSimulationController()} projectAssets={sceneDocument.assets} loadedModelAssets={{}} loadedImageAssets={{}} @@ -211,8 +210,7 @@ describe("ViewportCanvas", () => { panelId="topLeft" world={sceneDocument.world} sceneDocument={sceneDocument} - editorSimulationScene={null} - editorSimulationClock={null} + editorSimulationController={new EditorSimulationController()} projectAssets={sceneDocument.assets} loadedModelAssets={{}} loadedImageAssets={{}} @@ -274,8 +272,7 @@ describe("ViewportCanvas", () => { panelId="topLeft" world={sceneDocument.world} sceneDocument={sceneDocument} - editorSimulationScene={null} - editorSimulationClock={null} + editorSimulationController={new EditorSimulationController()} projectAssets={sceneDocument.assets} loadedModelAssets={{}} loadedImageAssets={{}} @@ -400,8 +397,7 @@ describe("ViewportCanvas", () => { panelId="topLeft" world={sceneDocument.world} sceneDocument={sceneDocument} - editorSimulationScene={null} - editorSimulationClock={null} + editorSimulationController={new EditorSimulationController()} projectAssets={sceneDocument.assets} loadedModelAssets={{}} loadedImageAssets={{}} @@ -469,8 +465,7 @@ describe("ViewportCanvas", () => { panelId="topLeft" world={sceneDocument.world} sceneDocument={sceneDocument} - editorSimulationScene={null} - editorSimulationClock={null} + editorSimulationController={new EditorSimulationController()} projectAssets={sceneDocument.assets} loadedModelAssets={{}} loadedImageAssets={{}} @@ -533,8 +528,7 @@ describe("ViewportCanvas", () => { panelId="topLeft" world={sceneDocument.world} sceneDocument={sceneDocument} - editorSimulationScene={null} - editorSimulationClock={null} + editorSimulationController={new EditorSimulationController()} projectAssets={sceneDocument.assets} loadedModelAssets={{}} loadedImageAssets={{}} @@ -614,8 +608,7 @@ describe("ViewportCanvas", () => { panelId="topLeft" world={focusedSceneDocument.world} sceneDocument={focusedSceneDocument} - editorSimulationScene={null} - editorSimulationClock={null} + editorSimulationController={new EditorSimulationController()} projectAssets={focusedSceneDocument.assets} loadedModelAssets={{}} loadedImageAssets={{}} @@ -657,8 +650,7 @@ describe("ViewportCanvas", () => { panelId="topLeft" world={updatedSceneDocument.world} sceneDocument={updatedSceneDocument} - editorSimulationScene={null} - editorSimulationClock={null} + editorSimulationController={new EditorSimulationController()} projectAssets={updatedSceneDocument.assets} loadedModelAssets={{}} loadedImageAssets={{}}