auto-git:

[change] src/app/App.tsx
 [change] tests/domain/runtime-project-time.test.ts
This commit is contained in:
2026-04-22 17:23:52 +02:00
parent ec5d00b7ed
commit e59f6bcd49
2 changed files with 53 additions and 38 deletions

View File

@@ -304,16 +304,24 @@ describe("runtime project time", () => {
dayCount: 0,
dayLengthMinutes: 24
});
const shortNightMoonPeak = resolveRuntimeDayNightWorldState(world, longDay, {
timeOfDayHours: 1,
dayCount: 0,
dayLengthMinutes: 24
});
const longNightMoonPeak = resolveRuntimeDayNightWorldState(world, shortDay, {
timeOfDayHours: 1,
dayCount: 0,
dayLengthMinutes: 24
});
const shortNightMoonPeak = resolveRuntimeDayNightWorldState(
world,
longDay,
{
timeOfDayHours: 1,
dayCount: 0,
dayLengthMinutes: 24
}
);
const longNightMoonPeak = resolveRuntimeDayNightWorldState(
world,
shortDay,
{
timeOfDayHours: 1,
dayCount: 0,
dayLengthMinutes: 24
}
);
expect(shortDayPeak.sunLight.direction.y).toBeLessThan(
longDayPeak.sunLight.direction.y