@@ -61,7 +61,7 @@ describe('Notifier Container Component', () => {
61
61
type : 'SHOW' ,
62
62
} ) ;
63
63
componentFixture . detectChanges ( ) ;
64
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
64
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
65
65
66
66
expect ( listElements . length ) . toBe ( 1 ) ;
67
67
@@ -353,7 +353,7 @@ describe('Notifier Container Component', () => {
353
353
tick ( ) ;
354
354
componentFixture . detectChanges ( ) ; // Run a second change detection (to update the template)
355
355
356
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
356
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
357
357
358
358
expect ( listElements . length ) . toBe ( 0 ) ;
359
359
expect ( mockNotificationComponent . hide ) . toHaveBeenCalled ( ) ;
@@ -397,7 +397,7 @@ describe('Notifier Container Component', () => {
397
397
tick ( ) ;
398
398
componentFixture . detectChanges ( ) ; // Run a second change detection (to update the template)
399
399
400
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
400
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
401
401
402
402
expect ( listElements . length ) . toBe ( 1 ) ;
403
403
expect ( mockNotificationComponent . hide ) . not . toHaveBeenCalled ( ) ;
@@ -454,7 +454,7 @@ describe('Notifier Container Component', () => {
454
454
tick ( ) ;
455
455
componentFixture . detectChanges ( ) ; // Run a second change detection (to update the template)
456
456
457
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
457
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
458
458
459
459
const expectedCallTimes = 3 ;
460
460
expect ( listElements . length ) . toBe ( 1 ) ;
@@ -512,7 +512,7 @@ describe('Notifier Container Component', () => {
512
512
tick ( testNotifierConfig . animations . hide . speed ) ;
513
513
componentFixture . detectChanges ( ) ; // Run a second change detection (to update the template)
514
514
515
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
515
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
516
516
517
517
const expectedCallTimes = 3 ;
518
518
expect ( listElements . length ) . toBe ( 1 ) ;
@@ -566,7 +566,7 @@ describe('Notifier Container Component', () => {
566
566
tick ( testNotifierConfig . animations . hide . speed - < number > testNotifierConfig . animations . overlap ) ;
567
567
componentFixture . detectChanges ( ) ; // Run a second change detection (to update the template)
568
568
569
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
569
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
570
570
571
571
const expectedCallTimes = 3 ;
572
572
expect ( listElements . length ) . toBe ( 1 ) ;
@@ -607,7 +607,7 @@ describe('Notifier Container Component', () => {
607
607
tick ( ) ;
608
608
componentFixture . detectChanges ( ) ;
609
609
610
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
610
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
611
611
612
612
const expectedCallTimes = 2 ;
613
613
expect ( listElements . length ) . toBe ( 0 ) ;
@@ -665,7 +665,7 @@ describe('Notifier Container Component', () => {
665
665
tick ( ) ;
666
666
componentFixture . detectChanges ( ) ; // Run a second change detection (to update the template)
667
667
668
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
668
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
669
669
670
670
const expectedCallTimes = 3 ;
671
671
expect ( listElements . length ) . toBe ( 1 ) ;
@@ -744,7 +744,7 @@ describe('Notifier Container Component', () => {
744
744
tick ( ) ;
745
745
componentFixture . detectChanges ( ) ; // Run a second change detection (to update the template)
746
746
747
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
747
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
748
748
749
749
const expectedCallTimes = 3 ;
750
750
expect ( listElements . length ) . toBe ( 1 ) ;
@@ -824,7 +824,7 @@ describe('Notifier Container Component', () => {
824
824
tick ( ) ;
825
825
componentFixture . detectChanges ( ) ; // Run a second change detection (to update the template)
826
826
827
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
827
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
828
828
829
829
const expectedCallTimes = 3 ;
830
830
expect ( listElements . length ) . toBe ( 0 ) ;
@@ -876,7 +876,7 @@ describe('Notifier Container Component', () => {
876
876
tick ( testNotifierConfig . animations . hide . speed + numberOfNotifications * < number > testNotifierConfig . animations . hide . offset ) ;
877
877
componentFixture . detectChanges ( ) ; // Run a second change detection (to update the template)
878
878
879
- const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list' ) ) ;
879
+ const listElements : Array < DebugElement > = componentFixture . debugElement . queryAll ( By . css ( '.notifier__container-list-item ' ) ) ;
880
880
881
881
const expectedCallTimes = 3 ;
882
882
expect ( listElements . length ) . toBe ( 0 ) ;
0 commit comments