Skip to content

Commit

Permalink
[twisty] Fullscreen button test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Jan 19, 2021
1 parent 134f1b2 commit d933a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cubing/twisty/dom/controls/buttons.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe("TwistyControlButton", () => {
const twistyControlButton = new TwistyControlButton(
timeline,
"fullscreen",
mockFullscreenElement,
{ fullscreenElement: mockFullscreenElement },
);
twistyControlButton.click();
expect(mockFullscreenElement.fullscreenRequested).toBe(true);
Expand Down

0 comments on commit d933a80

Please sign in to comment.