auto-git:
[change] tests/unit/runtime-host.test.ts
This commit is contained in:
@@ -618,6 +618,7 @@ describe("RuntimeHost", () => {
|
|||||||
const gameplayPose = captureCameraPose(hostInternals.camera);
|
const gameplayPose = captureCameraPose(hostInternals.camera);
|
||||||
hostInternals.applyActiveCameraRig(0.175, gameplayPose);
|
hostInternals.applyActiveCameraRig(0.175, gameplayPose);
|
||||||
|
|
||||||
|
expect(resolveThirdPersonCameraCollision).toHaveBeenCalled();
|
||||||
const [pivot, desiredCameraPosition, radius] =
|
const [pivot, desiredCameraPosition, radius] =
|
||||||
resolveThirdPersonCameraCollision.mock.calls.at(-1) ?? [];
|
resolveThirdPersonCameraCollision.mock.calls.at(-1) ?? [];
|
||||||
expect(pivot).toMatchObject({
|
expect(pivot).toMatchObject({
|
||||||
|
|||||||
Reference in New Issue
Block a user