auto-git:

[change] tests/domain/world-settings.test.ts
 [change] tests/serialization/scene-document-json.test.ts
This commit is contained in:
2026-04-22 16:57:30 +02:00
parent 4a3fe68b06
commit 48f7bc8e58
2 changed files with 5 additions and 7 deletions

View File

@@ -207,9 +207,8 @@ describe("world settings helpers", () => {
y: 1,
z: 0.35
};
const defaults = createDefaultWorldCelestialOrbitAuthoringSettings(
direction
);
const defaults =
createDefaultWorldCelestialOrbitAuthoringSettings(direction);
const derivedSunOrbit =
createWorldCelestialOrbitSettingsFromPeakDirection(direction);

View File

@@ -232,10 +232,9 @@ describe("scene document JSON", () => {
);
expect(migratedDocument.version).toBe(SCENE_DOCUMENT_VERSION);
expect(migratedDocument.world.celestialOrbits.sun.azimuthDegrees).toBeCloseTo(
153.4349,
3
);
expect(
migratedDocument.world.celestialOrbits.sun.azimuthDegrees
).toBeCloseTo(153.4349, 3);
expect(
migratedDocument.world.celestialOrbits.sun.peakAltitudeDegrees
).toBeGreaterThan(60);