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'
|
import FastImage from './FastImage.js'
|
||||||
|
|
||||||
test('FastImage renders correctly.', () => {
|
test('FastImage renders correctly.', () => {
|
||||||
const tree = renderer.create(
|
const tree = renderer
|
||||||
<FastImage
|
.create(
|
||||||
source={{
|
<FastImage
|
||||||
uri: 'https://facebook.github.io/react/img/logo_og.png',
|
source={{
|
||||||
headers: {
|
uri: 'https://facebook.github.io/react/img/logo_og.png',
|
||||||
token: 'someToken',
|
headers: {
|
||||||
},
|
token: 'someToken',
|
||||||
priority: FastImage.priority.high,
|
},
|
||||||
}}
|
priority: FastImage.priority.high,
|
||||||
/>
|
}}
|
||||||
).toJSON()
|
/>,
|
||||||
|
)
|
||||||
|
.toJSON()
|
||||||
|
|
||||||
expect(tree).toMatchSnapshot()
|
expect(tree).toMatchSnapshot()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue