@@ -70,7 +70,7 @@ describe('LazyLoadImage', function() {
7070 scrollPosition : { x : 0 , y : - 1000 }
7171 } ) ;
7272
73- lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
73+ lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
7474
7575 expectImages ( lazyLoadImage , 1 ) ;
7676 expectPlaceholders ( lazyLoadImage , 0 ) ;
@@ -81,7 +81,7 @@ describe('LazyLoadImage', function() {
8181 scrollPosition : { x : - 1000 , y : 0 }
8282 } ) ;
8383
84- lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
84+ lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
8585
8686 expectImages ( lazyLoadImage , 1 ) ;
8787 expectPlaceholders ( lazyLoadImage , 0 ) ;
@@ -113,7 +113,7 @@ describe('LazyLoadImage', function() {
113113 scrollPosition : { x : 0 , y : - 1000 }
114114 } ) ;
115115
116- lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
116+ lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
117117
118118 expect ( beforeLoad ) . toHaveBeenCalledTimes ( 1 ) ;
119119 } ) ;
@@ -141,7 +141,7 @@ describe('LazyLoadImage', function() {
141141 const afterLoad = jest . fn ( ) ;
142142 const lazyLoadImage = renderLazyLoadImage ( {
143143 afterLoad,
144- scrollPosition : { x : 0 , y : - 1000 }
144+ scrollPosition : { x : 0 , y : - 1000 }
145145 } ) ;
146146
147147 lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
0 commit comments