Add loading screen properties to local draft storage test

This commit is contained in:
2026-04-11 04:19:00 +02:00
parent af6c7e00b1
commit 8c112c88af

View File

@@ -198,7 +198,12 @@ describe("local draft storage", () => {
}), }),
"scene-hall": createEmptyProjectScene({ "scene-hall": createEmptyProjectScene({
id: "scene-hall", id: "scene-hall",
name: "Hallway" name: "Hallway",
loadingScreen: {
colorHex: "#253142",
headline: "Crossing over",
description: "Preparing the next hallway scene."
}
}) })
} }
}; };
@@ -221,6 +226,11 @@ describe("local draft storage", () => {
"scene-main", "scene-main",
"scene-hall" "scene-hall"
]); ]);
expect(result.document.scenes["scene-hall"]?.loadingScreen).toEqual({
colorHex: "#253142",
headline: "Crossing over",
description: "Preparing the next hallway scene."
});
}); });
it("loads older raw scene-document drafts without requiring viewport layout state", () => { it("loads older raw scene-document drafts without requiring viewport layout state", () => {