From f129d456eefb337512009b3d63f704e163badfbd Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 25 Apr 2026 01:34:47 +0200 Subject: [PATCH] auto-git: [change] tests/domain/world-settings.test.ts --- tests/domain/world-settings.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/domain/world-settings.test.ts b/tests/domain/world-settings.test.ts index aa0ea783..872e6dc2 100644 --- a/tests/domain/world-settings.test.ts +++ b/tests/domain/world-settings.test.ts @@ -21,6 +21,7 @@ describe("world settings helpers", () => { expect(clone.shaderSky).not.toBe(source.shaderSky); expect(clone.shaderSky.celestial).not.toBe(source.shaderSky.celestial); expect(clone.shaderSky.clouds).not.toBe(source.shaderSky.clouds); + expect(clone.shaderSky.aurora).not.toBe(source.shaderSky.aurora); expect(clone.celestialOrbits).not.toBe(source.celestialOrbits); expect(clone.celestialOrbits.sun).not.toBe(source.celestialOrbits.sun); expect(clone.sunLight.direction).not.toBe(source.sunLight.direction); @@ -191,6 +192,15 @@ describe("world settings helpers", () => { expect(areWorldSettingsEqual(left, right)).toBe(false); }); + it("treats shader sky aurora settings as part of authored world equality", () => { + const left = createDefaultWorldSettings(); + const right = cloneWorldSettings(left); + + right.shaderSky.aurora.enabled = true; + + expect(areWorldSettingsEqual(left, right)).toBe(false); + }); + it("treats celestial orbit settings as part of authored world equality", () => { const left = createDefaultWorldSettings(); const right = cloneWorldSettings(left);