From 356559bc45fc0eb068ff2ca48837d064e5df9ff6 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 11 Apr 2026 20:18:44 +0200 Subject: [PATCH] Update runtime interaction system test to include additional player movement properties --- tests/domain/runtime-interaction-system.test.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/domain/runtime-interaction-system.test.ts b/tests/domain/runtime-interaction-system.test.ts index 3b162056..fc809c23 100644 --- a/tests/domain/runtime-interaction-system.test.ts +++ b/tests/domain/runtime-interaction-system.test.ts @@ -17,6 +17,8 @@ import { RuntimeInteractionSystem } from "../../src/runtime-three/runtime-intera import type { RuntimeSceneDefinition } from "../../src/runtime-three/runtime-scene-build"; function createRuntimeSceneFixture(): RuntimeSceneDefinition { + const movementTemplate = createPlayerStartMovementTemplate(); + return { world: { ...createDefaultWorldSettings(), @@ -134,8 +136,11 @@ function createRuntimeSceneFixture(): RuntimeSceneDefinition { }, playerMovement: { templateKind: "default", - moveSpeed: createPlayerStartMovementTemplate().moveSpeed, - capabilities: createPlayerStartMovementTemplate().capabilities + moveSpeed: movementTemplate.moveSpeed, + capabilities: movementTemplate.capabilities, + jump: movementTemplate.jump, + sprint: movementTemplate.sprint, + crouch: movementTemplate.crouch }, navigationMode: "thirdPerson", spawn: {