@@ -70,7 +70,7 @@ describe('LazyLoadImage', function() {
70
70
scrollPosition : { x : 0 , y : - 1000 }
71
71
} ) ;
72
72
73
- lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
73
+ lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
74
74
75
75
expectImages ( lazyLoadImage , 1 ) ;
76
76
expectPlaceholders ( lazyLoadImage , 0 ) ;
@@ -81,7 +81,7 @@ describe('LazyLoadImage', function() {
81
81
scrollPosition : { x : - 1000 , y : 0 }
82
82
} ) ;
83
83
84
- lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
84
+ lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
85
85
86
86
expectImages ( lazyLoadImage , 1 ) ;
87
87
expectPlaceholders ( lazyLoadImage , 0 ) ;
@@ -113,7 +113,7 @@ describe('LazyLoadImage', function() {
113
113
scrollPosition : { x : 0 , y : - 1000 }
114
114
} ) ;
115
115
116
- lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
116
+ lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
117
117
118
118
expect ( beforeLoad ) . toHaveBeenCalledTimes ( 1 ) ;
119
119
} ) ;
@@ -141,7 +141,7 @@ describe('LazyLoadImage', function() {
141
141
const afterLoad = jest . fn ( ) ;
142
142
const lazyLoadImage = renderLazyLoadImage ( {
143
143
afterLoad,
144
- scrollPosition : { x : 0 , y : - 1000 }
144
+ scrollPosition : { x : 0 , y : - 1000 }
145
145
} ) ;
146
146
147
147
lazyLoadImage . componentWillReceiveProps ( { scrollPosition : { x : 0 , y : 0 } } ) ;
0 commit comments