Skip to content

Commit a7e79c5

Browse files
test(range-picker): update def icon tests
1 parent 4557f14 commit a7e79c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/igniteui-angular/src/lib/date-range-picker/date-range-picker.component.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { IgxCalendarComponent } from '../calendar/public_api';
2525
// The number of milliseconds in one day
2626
const ONE_DAY = 1000 * 60 * 60 * 24;
2727
const DEBOUNCE_TIME = 16;
28-
const dEFAULT_ICON_TEXT = 'calendar_today';
28+
const DEFAULT_ICON_TEXT = 'date_range';
2929
const DEFAULT_FORMAT_OPTIONS = { day: '2-digit', month: '2-digit', year: 'numeric' };
3030
const CSS_CLASS_INPUT_GROUP = '.igx-input-group__bundle';
3131
const CSS_CLASS_INPUT = '.igx-input-group__input';
@@ -1168,7 +1168,7 @@ describe('IgxDateRangePicker', () => {
11681168
fixture.detectChanges();
11691169

11701170
const inputGroup = fixture.debugElement.query(By.css(CSS_CLASS_INPUT_GROUP));
1171-
expect(inputGroup.children[0].nativeElement.innerText).toBe(dEFAULT_ICON_TEXT);
1171+
expect(inputGroup.children[0].nativeElement.innerText).toBe(DEFAULT_ICON_TEXT);
11721172
expect(inputGroup.children[0].children[0].classes[CSS_CLASS_ICON]).toBeTruthy();
11731173
});
11741174

@@ -1189,7 +1189,7 @@ describe('IgxDateRangePicker', () => {
11891189
expect(suffixSingleRangeInput.children[1].children[0].classes[CSS_CLASS_ICON]).toBeTruthy();
11901190

11911191
const addPrefixSingleRangeInput = inputGroups[2];
1192-
expect(addPrefixSingleRangeInput.children[0].nativeElement.innerText).toBe(dEFAULT_ICON_TEXT);
1192+
expect(addPrefixSingleRangeInput.children[0].nativeElement.innerText).toBe(DEFAULT_ICON_TEXT);
11931193
expect(addPrefixSingleRangeInput.children[0].children[0].classes[CSS_CLASS_ICON]).toBeTruthy();
11941194
expect(addPrefixSingleRangeInput.children[1].nativeElement.innerText).toBe(additionalIconText);
11951195
expect(addPrefixSingleRangeInput.children[1].children[0].classes[CSS_CLASS_ICON]).toBeTruthy();

0 commit comments

Comments
 (0)