diff --git a/src/cubing/twisty/dom/controls/buttons.spec.ts b/src/cubing/twisty/dom/controls/buttons.spec.ts index 2f7c0c50a..4e2ae550e 100644 --- a/src/cubing/twisty/dom/controls/buttons.spec.ts +++ b/src/cubing/twisty/dom/controls/buttons.spec.ts @@ -25,7 +25,7 @@ describe("TwistyControlButton", () => { const twistyControlButton = new TwistyControlButton( timeline, "fullscreen", - mockFullscreenElement, + { fullscreenElement: mockFullscreenElement }, ); twistyControlButton.click(); expect(mockFullscreenElement.fullscreenRequested).toBe(true);