Run prettier.

This commit is contained in:
Dylan Vann 2017-04-28 11:31:58 -04:00
parent 0939223060
commit 1f0acfccf6
1 changed files with 13 additions and 11 deletions

View File

@ -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()
})