Skip to content

Commit

Permalink
FIx tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderson1993 committed Dec 2, 2022
1 parent 5a1a5a6 commit c93cf4e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions server/src/systems/__test__/PassengerMovementSystem.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ describe("PassengerMovementSystem", () => {
PositionComponent {
"parentId": 1,
"type": "ship",
"x": 0.2941564209736038,
"y": 0.2941564209736038,
"x": 0.4378550077971717,
"y": 0.4378550077971716,
"z": 0,
}
`);
Expand All @@ -139,8 +139,8 @@ describe("PassengerMovementSystem", () => {
PositionComponent {
"parentId": 1,
"type": "ship",
"x": 0.9525462151064351,
"y": 0.9525462151064351,
"x": 1.0991613293113442,
"y": 0.9455613293113442,
"z": 0,
}
`);
Expand Down Expand Up @@ -205,7 +205,7 @@ describe("PassengerMovementSystem", () => {
"type": "ship",
"x": 2,
"y": 1,
"z": 0.041600000000000005,
"z": 0.0728,
}
`);
expect(passenger.components.passengerMovement?.nextNodeIndex).toBe(1);
Expand All @@ -214,8 +214,8 @@ describe("PassengerMovementSystem", () => {
PositionComponent {
"parentId": 3,
"type": "ship",
"x": 2,
"y": 1,
"x": 1.5621449922028285,
"y": 0.5621449922028283,
"z": 1,
}
`);
Expand All @@ -224,8 +224,8 @@ describe("PassengerMovementSystem", () => {
PositionComponent {
"parentId": 3,
"type": "ship",
"x": 1.2219398082404278,
"y": 0.22193980824042775,
"x": 1.1480653998204364,
"y": 0.14806539982043648,
"z": 1,
}
`);
Expand Down

0 comments on commit c93cf4e

Please sign in to comment.