@@ -353,7 +353,7 @@ export function main(): void {
353
353
tick ( ) ;
354
354
355
355
expect ( componentFixture . debugElement . styles [ 'transform' ] )
356
- . toBe ( `translate3d( 0, ${ 0 + shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
356
+ . toBe ( `translate3d( 0, ${ shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
357
357
expect ( shiftCallback ) . toHaveBeenCalled ( ) ;
358
358
359
359
} ) ) ;
@@ -389,7 +389,7 @@ export function main(): void {
389
389
return {
390
390
finished : new Promise < undefined > ( ( resolve : ( ) => void , reject : ( ) => void ) => {
391
391
componentFixture . debugElement . styles [ 'transform' ] =
392
- `translate3d( 0, ${ 0 + shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
392
+ `translate3d( 0, ${ shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
393
393
resolve ( ) ;
394
394
} )
395
395
} ;
@@ -400,7 +400,7 @@ export function main(): void {
400
400
tick ( ) ;
401
401
402
402
expect ( componentFixture . debugElement . styles [ 'transform' ] )
403
- . toBe ( `translate3d( 0, ${ 0 + shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
403
+ . toBe ( `translate3d( 0, ${ shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
404
404
expect ( shiftCallback ) . toHaveBeenCalled ( ) ;
405
405
406
406
} ) ) ;
@@ -438,7 +438,7 @@ export function main(): void {
438
438
tick ( ) ;
439
439
440
440
expect ( componentFixture . debugElement . styles [ 'transform' ] )
441
- . toBe ( `translate3d( 0, ${ 0 - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
441
+ . toBe ( `translate3d( 0, ${ - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
442
442
expect ( shiftCallback ) . toHaveBeenCalled ( ) ;
443
443
444
444
} ) ) ;
@@ -473,7 +473,7 @@ export function main(): void {
473
473
return {
474
474
finished : new Promise < undefined > ( ( resolve : ( ) => void , reject : ( ) => void ) => {
475
475
componentFixture . debugElement . styles [ 'transform' ] =
476
- `translate3d( 0, ${ 0 - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
476
+ `translate3d( 0, ${ - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
477
477
resolve ( ) ;
478
478
} )
479
479
} ;
@@ -484,7 +484,7 @@ export function main(): void {
484
484
tick ( ) ;
485
485
486
486
expect ( componentFixture . debugElement . styles [ 'transform' ] )
487
- . toBe ( `translate3d( 0, ${ 0 - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
487
+ . toBe ( `translate3d( 0, ${ - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
488
488
expect ( shiftCallback ) . toHaveBeenCalled ( ) ;
489
489
490
490
} ) ) ;
@@ -522,7 +522,7 @@ export function main(): void {
522
522
tick ( ) ;
523
523
524
524
expect ( componentFixture . debugElement . styles [ 'transform' ] )
525
- . toBe ( `translate3d( 0, ${ 0 - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
525
+ . toBe ( `translate3d( 0, ${ - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
526
526
expect ( shiftCallback ) . toHaveBeenCalled ( ) ;
527
527
528
528
} ) ) ;
@@ -557,7 +557,7 @@ export function main(): void {
557
557
return {
558
558
finished : new Promise < undefined > ( ( resolve : ( ) => void , reject : ( ) => void ) => {
559
559
componentFixture . debugElement . styles [ 'transform' ] =
560
- `translate3d( 0, ${ 0 - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
560
+ `translate3d( 0, ${ - shiftDistance - testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
561
561
resolve ( ) ;
562
562
} )
563
563
} ;
@@ -606,7 +606,7 @@ export function main(): void {
606
606
tick ( ) ;
607
607
608
608
expect ( componentFixture . debugElement . styles [ 'transform' ] )
609
- . toBe ( `translate3d( 0, ${ 0 + shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
609
+ . toBe ( `translate3d( 0, ${ shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
610
610
expect ( shiftCallback ) . toHaveBeenCalled ( ) ;
611
611
612
612
} ) ) ;
@@ -641,7 +641,7 @@ export function main(): void {
641
641
return {
642
642
finished : new Promise < undefined > ( ( resolve : ( ) => void , reject : ( ) => void ) => {
643
643
componentFixture . debugElement . styles [ 'transform' ] =
644
- `translate3d( 0, ${ 0 + shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
644
+ `translate3d( 0, ${ shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
645
645
resolve ( ) ;
646
646
} )
647
647
} ;
@@ -652,7 +652,7 @@ export function main(): void {
652
652
tick ( ) ;
653
653
654
654
expect ( componentFixture . debugElement . styles [ 'transform' ] )
655
- . toBe ( `translate3d( 0, ${ 0 + shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
655
+ . toBe ( `translate3d( 0, ${ shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
656
656
expect ( shiftCallback ) . toHaveBeenCalled ( ) ;
657
657
658
658
} ) ) ;
@@ -690,7 +690,7 @@ export function main(): void {
690
690
tick ( ) ;
691
691
692
692
expect ( componentFixture . debugElement . styles [ 'transform' ] )
693
- . toBe ( `translate3d( -50%, ${ 0 + shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
693
+ . toBe ( `translate3d( -50%, ${ shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
694
694
expect ( shiftCallback ) . toHaveBeenCalled ( ) ;
695
695
696
696
} ) ) ;
@@ -728,7 +728,7 @@ export function main(): void {
728
728
return {
729
729
finished : new Promise < undefined > ( ( resolve : ( ) => void , reject : ( ) => void ) => {
730
730
componentFixture . debugElement . styles [ 'transform' ] =
731
- `translate3d( -50%, ${ 0 + shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
731
+ `translate3d( -50%, ${ shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ; // Fake animation result
732
732
resolve ( ) ;
733
733
} )
734
734
} ;
@@ -739,7 +739,7 @@ export function main(): void {
739
739
tick ( ) ;
740
740
741
741
expect ( componentFixture . debugElement . styles [ 'transform' ] )
742
- . toBe ( `translate3d( -50%, ${ 0 + shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
742
+ . toBe ( `translate3d( -50%, ${ shiftDistance + testNotifierConfig . position . vertical . gap } px, 0 )` ) ;
743
743
expect ( shiftCallback ) . toHaveBeenCalled ( ) ;
744
744
745
745
} ) ) ;
0 commit comments