From 1d52eecfcce434acf738782a9b215ebc196e3f00 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 03:47:47 +0200 Subject: [PATCH] Rename activateSceneExit to startSceneTransition --- tests/domain/runtime-interaction-system.test.ts | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/tests/domain/runtime-interaction-system.test.ts b/tests/domain/runtime-interaction-system.test.ts index 1ec54442..b5961b9b 100644 --- a/tests/domain/runtime-interaction-system.test.ts +++ b/tests/domain/runtime-interaction-system.test.ts @@ -146,7 +146,6 @@ function createRuntimeSceneFixture(): RuntimeSceneDefinition { interactionEnabled: false } ], - sceneExits: [] }, interactionLinks: [], control: createEmptyRuntimeControlSurfaceDefinition(), @@ -186,7 +185,7 @@ function createDispatcher( ): RuntimeInteractionDispatcher { return { teleportPlayer: () => {}, - activateSceneExit: () => {}, + startSceneTransition: () => {}, toggleBrushVisibility: () => {}, playAnimation: () => {}, stopAnimation: () => {}, @@ -223,7 +222,7 @@ describe("RuntimeInteractionSystem", () => { teleportPlayer: (target, link) => { dispatches.push(`${link.id}:${target.entityId}:${target.position.x}`); }, - activateSceneExit: () => {}, + startSceneTransition: () => {}, toggleBrushVisibility: () => { dispatches.push("toggle"); }, @@ -245,7 +244,7 @@ describe("RuntimeInteractionSystem", () => { teleportPlayer: (target, link) => { dispatches.push(`${link.id}:${target.entityId}:${target.position.x}`); }, - activateSceneExit: () => {}, + startSceneTransition: () => {}, toggleBrushVisibility: () => { dispatches.push("toggle"); }, @@ -289,7 +288,7 @@ describe("RuntimeInteractionSystem", () => { teleportPlayer: () => { throw new Error("Teleport should not dispatch in this fixture."); }, - activateSceneExit: () => { + startSceneTransition: () => { throw new Error("Scene exit should not dispatch in this fixture."); }, toggleBrushVisibility: () => { @@ -342,7 +341,7 @@ describe("RuntimeInteractionSystem", () => { teleportPlayer: () => { throw new Error("Teleport should not dispatch in this fixture."); }, - activateSceneExit: () => { + startSceneTransition: () => { throw new Error("Scene exit should not dispatch in this fixture."); }, toggleBrushVisibility: (brushId, visible) => { @@ -369,7 +368,7 @@ describe("RuntimeInteractionSystem", () => { teleportPlayer: () => { throw new Error("Teleport should not dispatch in this fixture."); }, - activateSceneExit: () => { + startSceneTransition: () => { throw new Error("Scene exit should not dispatch in this fixture."); }, toggleBrushVisibility: (brushId, visible) => { @@ -516,7 +515,7 @@ describe("RuntimeInteractionSystem", () => { teleportPlayer: (target, link) => { dispatches.push(`${link.id}:${target.entityId}:${target.position.x}`); }, - activateSceneExit: () => { + startSceneTransition: () => { throw new Error( "Scene exit should not dispatch for this click fixture." ); @@ -564,7 +563,7 @@ describe("RuntimeInteractionSystem", () => { teleportPlayer: () => { throw new Error("Teleport should not dispatch in this fixture."); }, - activateSceneExit: () => { + startSceneTransition: () => { throw new Error("Scene exit should not dispatch in this fixture."); }, toggleBrushVisibility: () => {