Skip to content

Commit

Permalink
Continue
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Mar 24, 2023
1 parent ba4f830 commit 30c6deb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Calendar/Navigation.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ describe('Navigation', () => {

const arrows = container.querySelectorAll('button.react-calendar__navigation__arrow');

const [prev2, prev] = arrows;
const [prev2, prev] = arrows as unknown as [HTMLButtonElement, HTMLButtonElement];

expect(prev2).toBeDisabled();
expect(prev).toBeDisabled();
Expand All @@ -413,7 +413,7 @@ describe('Navigation', () => {

const arrows = container.querySelectorAll('button.react-calendar__navigation__arrow');

const [prev2, prev] = arrows;
const [prev2, prev] = arrows as unknown as [HTMLButtonElement, HTMLButtonElement];

expect(prev2).toBeDisabled();
expect(prev).toBeDisabled();
Expand Down Expand Up @@ -485,7 +485,7 @@ describe('Navigation', () => {

const arrows = container.querySelectorAll('button.react-calendar__navigation__arrow');

const [prev2, prev] = arrows;
const [prev2, prev] = arrows as unknown as [HTMLButtonElement, HTMLButtonElement];

expect(prev2).toBeDisabled();
expect(prev).toBeDisabled();
Expand Down

0 comments on commit 30c6deb

Please sign in to comment.