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