Skip to content

Commit ec80028

Browse files
committed
fix(time-picker): Fixing a failing test, #6827
1 parent 35094a0 commit ec80028

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.angulardoc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"repoId": "28d7247e-98c9-4c66-a4f4-65ffd92069eb",
3+
"lastSync": 0
4+
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,6 +2071,7 @@ describe('IgxTimePicker', () => {
20712071
it('Should set time picker status to invalid when it is required and has no value onBlur', fakeAsync(() => {
20722072
timePickerOnBlurComponent.mode = InteractionMode.DropDown;
20732073
timePickerOnBlurComponent.mask = 'dd/mm/yyyy';
2074+
20742075
fixture.detectChanges();
20752076

20762077
const inputDirectiveElements = fixture.debugElement.queryAll(By.directive(IgxInputDirective));
@@ -2080,6 +2081,7 @@ describe('IgxTimePicker', () => {
20802081
expect(inputDirective.valid).toEqual(IgxInputState.INITIAL);
20812082

20822083
inputDirectiveElement.triggerEventHandler('focus', { target: { value: null }});
2084+
tick(16);
20832085
fixture.detectChanges();
20842086

20852087
expect(inputDirective.valid).toEqual(IgxInputState.INITIAL);

0 commit comments

Comments
 (0)