auto-git:
[change] tests/unit/player-controller-telemetry.test.ts
This commit is contained in:
@@ -131,6 +131,7 @@ describe("player-controller-telemetry", () => {
|
|||||||
const telemetry = createPlayerControllerTelemetry({
|
const telemetry = createPlayerControllerTelemetry({
|
||||||
feetPosition: { x: 1, y: 2, z: 3 },
|
feetPosition: { x: 1, y: 2, z: 3 },
|
||||||
eyePosition: { x: 1, y: 3.6, z: 3 },
|
eyePosition: { x: 1, y: 3.6, z: 3 },
|
||||||
|
yawDegrees: 45,
|
||||||
grounded: false,
|
grounded: false,
|
||||||
locomotionState: createLocomotionState({
|
locomotionState: createLocomotionState({
|
||||||
locomotionMode: "swimming",
|
locomotionMode: "swimming",
|
||||||
@@ -174,6 +175,7 @@ describe("player-controller-telemetry", () => {
|
|||||||
const telemetry = createPlayerControllerTelemetry({
|
const telemetry = createPlayerControllerTelemetry({
|
||||||
feetPosition: { x: 0, y: 0.5, z: 0 },
|
feetPosition: { x: 0, y: 0.5, z: 0 },
|
||||||
eyePosition: { x: 0, y: 2, z: 0 },
|
eyePosition: { x: 0, y: 2, z: 0 },
|
||||||
|
yawDegrees: 0,
|
||||||
grounded: false,
|
grounded: false,
|
||||||
locomotionState: createLocomotionState({
|
locomotionState: createLocomotionState({
|
||||||
locomotionMode: "diving",
|
locomotionMode: "diving",
|
||||||
@@ -203,4 +205,4 @@ describe("player-controller-telemetry", () => {
|
|||||||
expect(telemetry.hooks.camera.underwaterAmount).toBe(1);
|
expect(telemetry.hooks.camera.underwaterAmount).toBe(1);
|
||||||
expect(telemetry.hooks.animation.locomotionMode).toBe("diving");
|
expect(telemetry.hooks.animation.locomotionMode).toBe("diving");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user