auto-git:
[change] tests/unit/first-person-navigation-controller.test.ts
This commit is contained in:
@@ -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", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user