auto-git:

[change] tests/unit/runtime-host.test.ts
This commit is contained in:
2026-04-25 04:01:58 +02:00
parent 4b6866b601
commit 3f34880710

View File

@@ -803,11 +803,11 @@ describe("RuntimeHost", () => {
expect(runtimeNpc?.yawDegrees).not.toBeCloseTo(0, 3); expect(runtimeNpc?.yawDegrees).not.toBeCloseTo(0, 3);
for (let step = 0; step < 8; step += 1) { for (let step = 0; step < 10; step += 1) {
hostInternals.updateRuntimeDialogueParticipants(0.05); hostInternals.updateRuntimeDialogueParticipants(0.05);
} }
expect(runtimeNpc?.yawDegrees).toBeCloseTo(0, 1); expect(Math.abs(runtimeNpc?.yawDegrees ?? Number.POSITIVE_INFINITY)).toBeLessThan(1);
expect(hostInternals.dialogueParticipantState).toBeNull(); expect(hostInternals.dialogueParticipantState).toBeNull();
host.dispose(); host.dispose();