Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: TT-325 Fix wront Test in calendar component
  • Loading branch information
jcalarcon98 committed Aug 30, 2021
commit d21e7a958813b4747f8050fe440923cdd534e0bb
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ describe('CalendarComponent', () => {

it('set true in nextDateDisabled when call navigationEnable and calendarView == Month and currentDate equal to initialDate', () => {
component.currentDate = moment().toDate();
component.initialDate = moment().add(2, 'day').toDate();
component.initialDate = moment().toDate();

component.navigationEnable(CalendarView.Month);

Expand Down