auto-git:

[change] tests/unit/world-background-renderer.test.ts
This commit is contained in:
2026-04-22 13:00:17 +02:00
parent 9e289f62f5
commit 490312408c

View File

@@ -22,7 +22,7 @@ describe("resolveWorldEnvironmentState", () => {
}); });
}); });
it("hands the environment off through zero intensity during a day-to-night crossfade", () => { it("keeps environment lighting energy during a day-to-night crossfade", () => {
const world = createDefaultWorldSettings(); const world = createDefaultWorldSettings();
const dayTexture = new Texture(); const dayTexture = new Texture();
const nightTexture = new Texture(); const nightTexture = new Texture();
@@ -40,7 +40,7 @@ describe("resolveWorldEnvironmentState", () => {
}) })
).toEqual({ ).toEqual({
texture: dayTexture, texture: dayTexture,
intensity: 0.2 intensity: 0.5
}); });
expect( expect(
@@ -51,7 +51,7 @@ describe("resolveWorldEnvironmentState", () => {
}) })
).toEqual({ ).toEqual({
texture: nightTexture, texture: nightTexture,
intensity: 0.4 intensity: 0.7000000000000001
}); });
}); });