auto-git:

[change] tests/unit/first-person-navigation-controller.test.ts
This commit is contained in:
2026-05-01 16:53:24 +02:00
parent 2ab7de4bb2
commit 120b23a5ac

View File

@@ -167,6 +167,10 @@ function createFirstPersonLedgeGrabContext(topY = 2) {
describe("FirstPersonNavigationController", () => { describe("FirstPersonNavigationController", () => {
afterEach(() => { afterEach(() => {
vi.restoreAllMocks(); vi.restoreAllMocks();
Object.defineProperty(navigator, "getGamepads", {
configurable: true,
value: undefined
});
}); });
it("can deactivate during a scene transition without releasing pointer lock", () => { it("can deactivate during a scene transition without releasing pointer lock", () => {