50 lines
938 B
Plaintext
50 lines
938 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`FastImage renders correctly. 1`] = `
|
|
<FastImageView
|
|
onFastImageError={undefined}
|
|
onFastImageLoad={undefined}
|
|
onFastImageLoadEnd={undefined}
|
|
onFastImageLoadStart={undefined}
|
|
onFastImageProgress={undefined}
|
|
resizeMode="cover"
|
|
source={
|
|
Object {
|
|
"headers": Object {
|
|
"token": "someToken",
|
|
},
|
|
"priority": "high",
|
|
"uri": "https://facebook.github.io/react/img/logo_og.png",
|
|
}
|
|
}
|
|
style={
|
|
Object {
|
|
"height": 44,
|
|
"width": 44,
|
|
}
|
|
}
|
|
/>
|
|
`;
|
|
|
|
exports[`Renders a normal Image when not passed a uri. 1`] = `
|
|
<Image
|
|
onError={undefined}
|
|
onLoad={undefined}
|
|
onLoadEnd={undefined}
|
|
onLoadStart={undefined}
|
|
onProgress={undefined}
|
|
resizeMode="cover"
|
|
source={
|
|
Object {
|
|
"testUri": "../../../server/pictures/jellyfish.gif",
|
|
}
|
|
}
|
|
style={
|
|
Object {
|
|
"height": 44,
|
|
"width": 44,
|
|
}
|
|
}
|
|
/>
|
|
`;
|