From 7498f08506aa0f71bc026f9f0da75364dfad0b67 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Apr 2026 17:22:44 +0200 Subject: [PATCH] Move updateAssets call in RuntimeHost tests --- tests/unit/runtime-host.test.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/unit/runtime-host.test.ts b/tests/unit/runtime-host.test.ts index 341075c2..5e25f042 100644 --- a/tests/unit/runtime-host.test.ts +++ b/tests/unit/runtime-host.test.ts @@ -629,14 +629,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 { @@ -773,6 +765,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 {