Move updateAssets call in RuntimeHost tests

This commit is contained in:
2026-04-14 17:22:44 +02:00
parent 9b5d1ab18c
commit 7498f08506

View File

@@ -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 {