@@ -439,19 +439,22 @@ describe('Row Chips', () => {
439439 describe ( '_hasInteractiveActions' , ( ) => {
440440 it ( 'should return true if the chip has a remove icon' , ( ) => {
441441 testComponent . removable = true ;
442+ fixture . changeDetectorRef . markForCheck ( ) ;
442443 fixture . detectChanges ( ) ;
443444 expect ( chipInstance . _hasInteractiveActions ( ) ) . toBe ( true ) ;
444445 } ) ;
445446
446447 it ( 'should return true if the chip has an edit icon' , ( ) => {
447448 testComponent . editable = true ;
448449 testComponent . showEditIcon = true ;
450+ fixture . changeDetectorRef . markForCheck ( ) ;
449451 fixture . detectChanges ( ) ;
450452 expect ( chipInstance . _hasInteractiveActions ( ) ) . toBe ( true ) ;
451453 } ) ;
452454
453455 it ( 'should return true even with a non-interactive trailing icon' , ( ) => {
454456 testComponent . showTrailingIcon = true ;
457+ fixture . changeDetectorRef . markForCheck ( ) ;
455458 fixture . detectChanges ( ) ;
456459 expect ( chipInstance . _hasInteractiveActions ( ) ) . toBe ( true ) ;
457460 } ) ;
@@ -461,6 +464,7 @@ describe('Row Chips', () => {
461464 chipInstance . primaryAction . isInteractive = false ;
462465 testComponent . showTrailingIcon = true ;
463466 testComponent . removable = false ; // remove icon is interactive
467+ fixture . changeDetectorRef . markForCheck ( ) ;
464468 fixture . detectChanges ( ) ;
465469
466470 // The trailing icon is not interactive.
0 commit comments