From 925d2fe13973a827798333c431bf32ee9a16c692 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 11 Apr 2026 20:32:11 +0200 Subject: [PATCH] Add maxSpeed to player movement in tests --- tests/domain/runtime-interaction-system.test.ts | 1 + tests/unit/player-locomotion.test.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/domain/runtime-interaction-system.test.ts b/tests/domain/runtime-interaction-system.test.ts index fc809c23..4eb1bf0b 100644 --- a/tests/domain/runtime-interaction-system.test.ts +++ b/tests/domain/runtime-interaction-system.test.ts @@ -137,6 +137,7 @@ function createRuntimeSceneFixture(): RuntimeSceneDefinition { playerMovement: { templateKind: "default", moveSpeed: movementTemplate.moveSpeed, + maxSpeed: movementTemplate.maxSpeed, capabilities: movementTemplate.capabilities, jump: movementTemplate.jump, sprint: movementTemplate.sprint, diff --git a/tests/unit/player-locomotion.test.ts b/tests/unit/player-locomotion.test.ts index f046d54d..ed8a26ef 100644 --- a/tests/unit/player-locomotion.test.ts +++ b/tests/unit/player-locomotion.test.ts @@ -16,6 +16,7 @@ const movementTemplate = createPlayerStartMovementTemplate(); const DEFAULT_MOVEMENT: RuntimePlayerMovement = { templateKind: "default", moveSpeed: movementTemplate.moveSpeed, + maxSpeed: movementTemplate.maxSpeed, capabilities: movementTemplate.capabilities, jump: movementTemplate.jump, sprint: movementTemplate.sprint,