Skip to content

Commit

Permalink
feat(calendar-component): fix calendar component test case (#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
dilandoogan authored Jan 6, 2025
1 parent d5661c3 commit 109ed0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/calendar/bl-calendar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ describe("bl-calendar", () => {

const setNextCalendarViewSpy = sinon.spy(element, "setNextCalendarView");

element.handleDate(new Date(2024, 2, 15));
element.handleDate(new Date(element.today.getFullYear()+1,2,15));

expect(setNextCalendarViewSpy).to.have.been.called;

Expand Down

0 comments on commit 109ed0b

Please sign in to comment.