Skip to content

Commit cfef777

Browse files
authored
fix: TT-325 Fix wront Test in calendar component (#741)
1 parent ffc8ed9 commit cfef777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/modules/time-entries/components/calendar/calendar.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ describe('CalendarComponent', () => {
265265

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

270270
component.navigationEnable(CalendarView.Month);
271271

0 commit comments

Comments
 (0)