Skip to content

Commit 8411391

Browse files
committed
TT-107 fix: code cov
1 parent e656905 commit 8411391

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/modules/shared/components/month-picker/month-picker.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ describe('MonthPickerComponent', () => {
6262
it('selectMonth should call selectDate', () => {
6363
component.selectedYear = 2020;
6464
spyOn(component, 'selectDate');
65-
component.selectMonth(10);
66-
expect(component.selectDate).toHaveBeenCalledWith(10, 2020);
65+
component.selectMonth(1);
66+
expect(component.selectDate).toHaveBeenCalledWith(1, 2021);
6767
});
6868

6969
});

0 commit comments

Comments
 (0)