From 778038aa7249a85aa8f1b06a505742aa00cc7721 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sun, 26 Apr 2026 23:08:07 +0200 Subject: [PATCH] Refactor test data structure to use arrays for interaction steps --- .../domain/runtime-interaction-system.test.ts | 84 +++++++++++-------- 1 file changed, 49 insertions(+), 35 deletions(-) diff --git a/tests/domain/runtime-interaction-system.test.ts b/tests/domain/runtime-interaction-system.test.ts index 7a71b19d..bd93dd6a 100644 --- a/tests/domain/runtime-interaction-system.test.ts +++ b/tests/domain/runtime-interaction-system.test.ts @@ -554,11 +554,13 @@ describe("RuntimeInteractionSystem", () => { y: 1.6, z: 0 }, - { - x: 0, - y: 0, - z: 1 - }, + [ + { + x: 0, + y: 0, + z: 1 + } + ], 2, runtimeScene ) @@ -581,11 +583,13 @@ describe("RuntimeInteractionSystem", () => { y: 1.6, z: 0 }, - { - x: 1, - y: 0, - z: 0 - }, + [ + { + x: 1, + y: 0, + z: 0 + } + ], 2, runtimeScene ) @@ -617,11 +621,13 @@ describe("RuntimeInteractionSystem", () => { y: 1.6, z: -2 }, - { - x: 0, - y: 0, - z: 1 - }, + [ + { + x: 0, + y: 0, + z: 1 + } + ], 2, runtimeScene ) @@ -875,11 +881,13 @@ describe("RuntimeInteractionSystem", () => { y: 1.6, z: 0 }, - { - x: 0, - y: 0, - z: 1 - }, + [ + { + x: 0, + y: 0, + z: 1 + } + ], 2, runtimeScene ); @@ -1188,11 +1196,13 @@ describe("RuntimeInteractionSystem", () => { y: 1.6, z: 0 }, - { - x: 0, - y: 0, - z: 1 - }, + [ + { + x: 0, + y: 0, + z: 1 + } + ], 2, runtimeScene ); @@ -1253,11 +1263,13 @@ describe("RuntimeInteractionSystem", () => { y: 1.6, z: 0 }, - { - x: 0, - y: 0, - z: 1 - }, + [ + { + x: 0, + y: 0, + z: 1 + } + ], 2, runtimeScene ) @@ -1305,11 +1317,13 @@ describe("RuntimeInteractionSystem", () => { y: 1.6, z: 0 }, - { - x: 0, - y: 0, - z: 1 - }, + [ + { + x: 0, + y: 0, + z: 1 + } + ], 2, runtimeScene )