Skip to content

Commit 7d9c2e5

Browse files
committed
Minor code lint
1 parent 68aaceb commit 7d9c2e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/LazyLoadImage.spec.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)