mirror of
https://github.com/status-im/react-native-fast-image.git
synced 2025-02-23 11:48:16 +00:00
Run prettier.
This commit is contained in:
parent
0939223060
commit
1f0acfccf6
@ -4,17 +4,19 @@ import renderer from 'react-test-renderer'
|
||||
import FastImage from './FastImage.js'
|
||||
|
||||
test('FastImage renders correctly.', () => {
|
||||
const tree = renderer.create(
|
||||
<FastImage
|
||||
source={{
|
||||
uri: 'https://facebook.github.io/react/img/logo_og.png',
|
||||
headers: {
|
||||
token: 'someToken',
|
||||
},
|
||||
priority: FastImage.priority.high,
|
||||
}}
|
||||
/>
|
||||
).toJSON()
|
||||
const tree = renderer
|
||||
.create(
|
||||
<FastImage
|
||||
source={{
|
||||
uri: 'https://facebook.github.io/react/img/logo_og.png',
|
||||
headers: {
|
||||
token: 'someToken',
|
||||
},
|
||||
priority: FastImage.priority.high,
|
||||
}}
|
||||
/>,
|
||||
)
|
||||
.toJSON()
|
||||
|
||||
expect(tree).toMatchSnapshot()
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user