Revert updateAssets calls in runtime-host.test.ts

This commit is contained in:
2026-04-14 17:22:16 +02:00
parent 16d7307999
commit 9b5d1ab18c

View File

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