We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0939223 commit 1f0acfcCopy full SHA for 1f0acfc
FastImage.test.js
@@ -4,17 +4,19 @@ import renderer from 'react-test-renderer'
4
import FastImage from './FastImage.js'
5
6
test('FastImage renders correctly.', () => {
7
- const tree = renderer.create(
8
- <FastImage
9
- source={{
10
- uri: 'https://facebook.github.io/react/img/logo_og.png',
11
- headers: {
12
- token: 'someToken',
13
- },
14
- priority: FastImage.priority.high,
15
- }}
16
- />
17
- ).toJSON()
+ const tree = renderer
+ .create(
+ <FastImage
+ source={{
+ uri: 'https://facebook.github.io/react/img/logo_og.png',
+ headers: {
+ token: 'someToken',
+ },
+ priority: FastImage.priority.high,
+ }}
+ />,
18
+ )
19
+ .toJSON()
20
21
expect(tree).toMatchSnapshot()
22
})
0 commit comments