auto-git:
[change] tests/domain/world-settings.test.ts [change] tests/serialization/scene-document-json.test.ts
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user