Add pauseTime to PlayerStartActionInputState in tests
This commit is contained in:
@@ -33,7 +33,8 @@ const FORWARD_INPUT: PlayerStartActionInputState = {
|
|||||||
moveRight: 0,
|
moveRight: 0,
|
||||||
jump: 0,
|
jump: 0,
|
||||||
sprint: 0,
|
sprint: 0,
|
||||||
crouch: 0
|
crouch: 0,
|
||||||
|
pauseTime: 0
|
||||||
};
|
};
|
||||||
|
|
||||||
function createVolumeState(overrides: {
|
function createVolumeState(overrides: {
|
||||||
@@ -801,4 +802,4 @@ describe("player-locomotion", () => {
|
|||||||
expect(step?.verticalVelocity).toBeCloseTo(-DEFAULT_MOVEMENT.moveSpeed);
|
expect(step?.verticalVelocity).toBeCloseTo(-DEFAULT_MOVEMENT.moveSpeed);
|
||||||
expect(step?.feetPosition.y).toBeCloseTo(0.05, 5);
|
expect(step?.feetPosition.y).toBeCloseTo(0.05, 5);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user