@@ -392,7 +392,7 @@ describe('MatAutocomplete', () => {
392392
393393 typeInElement ( input , 'x' ) ;
394394 fixture . detectChanges ( ) ;
395- await wait ( 0 ) ;
395+ await wait ( 100 ) ;
396396 fixture . detectChanges ( ) ;
397397
398398 expect ( getOverlayHost ( fixture ) ! . querySelector ( '.mat-mdc-autocomplete-panel' ) ! . classList )
@@ -408,7 +408,7 @@ describe('MatAutocomplete', () => {
408408 clearElement ( input ) ;
409409 typeInElement ( input , 'al' ) ;
410410 fixture . detectChanges ( ) ;
411- await wait ( 0 ) ;
411+ await wait ( 100 ) ;
412412 fixture . detectChanges ( ) ;
413413
414414 expect ( getOverlayHost ( fixture ) ! . querySelector ( '.mat-mdc-autocomplete-panel' ) ! . classList )
@@ -473,7 +473,7 @@ describe('MatAutocomplete', () => {
473473 ] ;
474474 fixture . changeDetectorRef . markForCheck ( ) ;
475475 fixture . detectChanges ( ) ;
476- await wait ( 0 ) ;
476+ await wait ( 100 ) ;
477477 fixture . detectChanges ( ) ;
478478
479479 expect ( fixture . componentInstance . openedSpy ) . toHaveBeenCalled ( ) ;
@@ -1887,7 +1887,7 @@ describe('MatAutocomplete', () => {
18871887
18881888 typeInElement ( input , 'zz' ) ;
18891889 fixture . detectChanges ( ) ;
1890- await wait ( 0 ) ;
1890+ await wait ( 100 ) ;
18911891 fixture . detectChanges ( ) ;
18921892
18931893 expect ( input . getAttribute ( 'aria-expanded' ) )
@@ -2990,7 +2990,7 @@ describe('MatAutocomplete', () => {
29902990 fixture . componentInstance . selectedNumber = 0 ;
29912991 fixture . changeDetectorRef . markForCheck ( ) ;
29922992 fixture . detectChanges ( ) ;
2993- await wait ( 0 ) ;
2993+ await wait ( 100 ) ;
29942994 fixture . detectChanges ( ) ;
29952995
29962996 expect ( fixture . debugElement . query ( By . css ( 'input' ) ) ! . nativeElement . value ) . toBe ( '0' ) ;
@@ -3248,7 +3248,7 @@ describe('MatAutocomplete', () => {
32483248
32493249 typeInElement ( input , '_x' ) ; // Invalidate option to 'Alabama_x'
32503250 fixture . detectChanges ( ) ;
3251- await wait ( 0 ) ; // Yield to allow panel to close
3251+ await wait ( 100 ) ; // Yield to allow panel to close
32523252 fixture . detectChanges ( ) ;
32533253
32543254 expect ( openedSpy ) . toHaveBeenCalledTimes ( 1 ) ;
0 commit comments