forked from Ivasoft/mattermost-mobile
* Revert "Downgrade mmkv and bump to 435 (#6742)" This reverts commit66b469bb31. * Revert "Bump Version to 1.56.0 and build to 431 (#6723)" This reverts commitfdee027b4a. * Revert "[V1] update deps (#6666)" This reverts commit8137241f12. * bump build to 436 * update snapshots (cherry picked from commitdb86bbc42b) Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
141 lines
2.7 KiB
Plaintext
141 lines
2.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`ProgressiveImage should match snapshot for BackgroundImage 1`] = `
|
|
<View
|
|
style={
|
|
Array [
|
|
Object {
|
|
"alignItems": "center",
|
|
"backgroundColor": "rgba(63,67,80,0.08)",
|
|
"justifyContent": "center",
|
|
},
|
|
Object {},
|
|
]
|
|
}
|
|
>
|
|
<ImageBackground
|
|
resizeMode="cover"
|
|
source={
|
|
Object {
|
|
"uri": "https://images.com/image.png",
|
|
}
|
|
}
|
|
style={
|
|
Array [
|
|
Object {
|
|
"bottom": 0,
|
|
"left": 0,
|
|
"position": "absolute",
|
|
"right": 0,
|
|
"top": 0,
|
|
},
|
|
undefined,
|
|
]
|
|
}
|
|
/>
|
|
</View>
|
|
`;
|
|
|
|
exports[`ProgressiveImage should match snapshot for Default Image 1`] = `
|
|
<View
|
|
style={
|
|
Array [
|
|
Object {
|
|
"alignItems": "center",
|
|
"backgroundColor": "rgba(63,67,80,0.08)",
|
|
"justifyContent": "center",
|
|
},
|
|
Object {},
|
|
]
|
|
}
|
|
>
|
|
<ForwardRef(AnimatedComponentWrapper)
|
|
nativeID="image-undefined"
|
|
onError={[MockFunction]}
|
|
resizeMethod="auto"
|
|
resizeMode="contain"
|
|
source="https://images.com/image.png"
|
|
style={
|
|
Array [
|
|
Object {
|
|
"bottom": 0,
|
|
"left": 0,
|
|
"position": "absolute",
|
|
"right": 0,
|
|
"top": 0,
|
|
},
|
|
undefined,
|
|
null,
|
|
]
|
|
}
|
|
/>
|
|
</View>
|
|
`;
|
|
|
|
exports[`ProgressiveImage should match snapshot for Image 1`] = `
|
|
<ForwardRef(AnimatedComponentWrapper)
|
|
style={
|
|
Array [
|
|
Object {
|
|
"alignItems": "center",
|
|
"backgroundColor": "rgba(63,67,80,0.08)",
|
|
"justifyContent": "center",
|
|
},
|
|
Object {},
|
|
Object {
|
|
"backgroundColor": "rgba(63,67,80,NaN)",
|
|
},
|
|
]
|
|
}
|
|
>
|
|
<ForwardRef(AnimatedComponentWrapper)
|
|
onError={[MockFunction]}
|
|
resizeMethod="auto"
|
|
resizeMode="contain"
|
|
source={
|
|
Object {
|
|
"testUri": "../../../dist/assets/images/thumb.png",
|
|
}
|
|
}
|
|
style={
|
|
Array [
|
|
undefined,
|
|
Object {
|
|
"opacity": 0.5,
|
|
"tintColor": "#3f4350",
|
|
},
|
|
]
|
|
}
|
|
testID="progressive_image.thumbnail"
|
|
/>
|
|
<ForwardRef(AnimatedComponentWrapper)
|
|
nativeID="image-undefined"
|
|
onError={[MockFunction]}
|
|
onLoadEnd={[Function]}
|
|
resizeMethod="auto"
|
|
resizeMode="contain"
|
|
source={
|
|
Object {
|
|
"uri": "https://images.com/image.png",
|
|
}
|
|
}
|
|
style={
|
|
Array [
|
|
Object {
|
|
"bottom": 0,
|
|
"left": 0,
|
|
"position": "absolute",
|
|
"right": 0,
|
|
"top": 0,
|
|
},
|
|
undefined,
|
|
Object {
|
|
"opacity": 0,
|
|
},
|
|
]
|
|
}
|
|
testID="progressive_image.highResImage"
|
|
/>
|
|
</ForwardRef(AnimatedComponentWrapper)>
|
|
`;
|