From 9b5d1ab18c8d3346a225f4314c7104d25ec64011 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Apr 2026 17:22:16 +0200 Subject: [PATCH] Revert updateAssets calls in runtime-host.test.ts --- tests/unit/runtime-host.test.ts | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/tests/unit/runtime-host.test.ts b/tests/unit/runtime-host.test.ts index 7dbd07a6..341075c2 100644 --- a/tests/unit/runtime-host.test.ts +++ b/tests/unit/runtime-host.test.ts @@ -154,14 +154,6 @@ describe("RuntimeHost", () => { const host = new RuntimeHost({ enableRendering: false }); - host.updateAssets( - document.assets, - { - [asset.id]: loadedAsset - }, - {}, - {} - ); host.loadScene(runtimeScene); const disableEffect = createSetLightEnabledControlEffect({ @@ -316,14 +308,6 @@ describe("RuntimeHost", () => { const host = new RuntimeHost({ enableRendering: false }); - host.updateAssets( - document.assets, - { - [asset.id]: loadedAsset - }, - {}, - {} - ); host.loadScene(runtimeScene); const hostInternals = host as unknown as { @@ -645,6 +629,14 @@ describe("RuntimeHost", () => { const host = new RuntimeHost({ enableRendering: false }); + host.updateAssets( + document.assets, + { + [asset.id]: loadedAsset + }, + {}, + {} + ); host.loadScene(runtimeScene); const hostInternals = host as unknown as {