Update coordinates and interaction expectations in RuntimeInteractionSystem tests

This commit is contained in:
2026-04-27 15:19:10 +02:00
parent 2a8474a73b
commit c773498acd

View File

@@ -551,17 +551,11 @@ describe("RuntimeInteractionSystem", () => {
}, },
{ {
x: 0, x: 0,
y: 1.6, y: 0,
z: 0 z: 1
}, },
[
{
x: 0,
y: 0,
z: 1
}
],
2, 2,
30,
runtimeScene runtimeScene
) )
).toEqual({ ).toEqual({
@@ -579,18 +573,12 @@ describe("RuntimeInteractionSystem", () => {
z: 0 z: 0
}, },
{ {
x: 0, x: 1,
y: 1.6, y: 0,
z: 0 z: 0
}, },
[
{
x: 1,
y: 0,
z: 0
}
],
2, 2,
30,
runtimeScene runtimeScene
) )
).toBeNull(); ).toBeNull();
@@ -618,17 +606,11 @@ describe("RuntimeInteractionSystem", () => {
}, },
{ {
x: 0, x: 0,
y: 1.6, y: 0,
z: -2 z: 1
}, },
[
{
x: 0,
y: 0,
z: 1
}
],
2, 2,
30,
runtimeScene runtimeScene
) )
).toEqual({ ).toEqual({
@@ -878,17 +860,11 @@ describe("RuntimeInteractionSystem", () => {
}, },
{ {
x: 0, x: 0,
y: 1.6, y: 0,
z: 0 z: 1
}, },
[
{
x: 0,
y: 0,
z: 1
}
],
2, 2,
30,
runtimeScene runtimeScene
); );
@@ -1193,17 +1169,11 @@ describe("RuntimeInteractionSystem", () => {
}, },
{ {
x: 0, x: 0,
y: 1.6, y: 0,
z: 0 z: 1
}, },
[
{
x: 0,
y: 0,
z: 1
}
],
2, 2,
30,
runtimeScene runtimeScene
); );
@@ -1260,17 +1230,11 @@ describe("RuntimeInteractionSystem", () => {
}, },
{ {
x: 0, x: 0,
y: 1.6, y: 0,
z: 0 z: 1
}, },
[
{
x: 0,
y: 0,
z: 1
}
],
2, 2,
30,
runtimeScene runtimeScene
) )
).toBeNull(); ).toBeNull();
@@ -1314,17 +1278,11 @@ describe("RuntimeInteractionSystem", () => {
}, },
{ {
x: 0, x: 0,
y: 1.6, y: 0,
z: 0 z: 1
}, },
[
{
x: 0,
y: 0,
z: 1
}
],
2, 2,
30,
runtimeScene runtimeScene
) )
).toEqual({ ).toEqual({