Update test to include default project time settings

This commit is contained in:
2026-04-12 14:37:31 +02:00
parent ce2719179d
commit 658a5f5125

View File

@@ -2,6 +2,7 @@ import { describe, expect, it } from "vitest";
import { BoxGeometry, PlaneGeometry } from "three";
import { createBoxBrush } from "../../src/document/brushes";
import { createDefaultProjectTimeSettings } from "../../src/document/project-time-settings";
import { createEmptySceneDocument } from "../../src/document/scene-document";
import {
DEFAULT_PLAYER_START_MOVE_SPEED,
@@ -299,6 +300,7 @@ describe("buildRuntimeSceneFromDocument", () => {
z: 0.1
};
document.time = {
...createDefaultProjectTimeSettings(),
startTimeOfDayHours: 18.5,
dayLengthMinutes: 16
};