Skip to content

Commit ef05e06

Browse files
committed
fix: TT-262 refactor code based on PR reviews
1 parent 5943353 commit ef05e06

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ testem.log
4444
keys.ts
4545
src/environments/keys.ts
4646
debug.log
47-
/.vscode
47+
*.vscode
4848

4949
# System Files
5050
.DS_Store

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,9 @@ describe('MonthPickerComponent', () => {
6868
expect(component.selectDate).toHaveBeenCalledWith(monthSelect, yearSelect);
6969
});
7070

71-
it('monthEnable set disable true in the buttoms futures', () => {
71+
it('monthEnable sets disabled to true on futures months', () => {
7272
const monthFuture = component.monthCurrent + 1;
7373
expect(component.monthEnable(monthFuture)).toBeTrue();
7474
});
7575

76-
it('monthEnable set disable false in the buttoms presents and past', () => {
77-
const monthFuture = component.monthCurrent;
78-
expect(component.monthEnable(monthFuture)).toBeFalse();
79-
});
80-
8176
});

0 commit comments

Comments
 (0)