auto-git:
[change] tests/unit/runtime-host.test.ts
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user