auto-git:
[change] tests/domain/scene-document-validation.test.ts
This commit is contained in:
@@ -1135,6 +1135,7 @@ describe("validateSceneDocument", () => {
|
||||
};
|
||||
document.world.showCelestialBodies = "yes" as unknown as boolean;
|
||||
document.world.ambientLight.intensity = -0.25;
|
||||
document.world.celestialOrbits.sun.azimuthDegrees = 400;
|
||||
document.world.sunLight.direction = {
|
||||
x: 0,
|
||||
y: 0,
|
||||
@@ -1157,6 +1158,10 @@ describe("validateSceneDocument", () => {
|
||||
code: "invalid-world-ambient-intensity",
|
||||
path: "world.ambientLight.intensity"
|
||||
}),
|
||||
expect.objectContaining({
|
||||
code: "invalid-world-sun-orbit-azimuth",
|
||||
path: "world.celestialOrbits.sun.azimuthDegrees"
|
||||
}),
|
||||
expect.objectContaining({
|
||||
code: "invalid-world-sun-direction",
|
||||
path: "world.sunLight.direction"
|
||||
|
||||
Reference in New Issue
Block a user