Add loading screen properties to local draft storage test
This commit is contained in:
@@ -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", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user