mattermost-mobile/app/screens/permalink/__snapshots__/permalink.test.js.snap
Elias Nahum 30d4aa2a3e
Build Improvements (#4884)
* Use AppGroupId from Info.plists instead of hardcoded constant

* Update script, ci & Makefile

* Update Cocoapods to 1.9.3

* Split android builds using ABI filters

* Update Fastlane deps & build scripts

* Update CI to use latests scripts

* Display app version & build number in select server screen

* Make generate scripts compatible with node < 12

* Build scripts

* add build script to package.json

* Update to use bundler 2.1.4 and CI with Xcode 12

* Fix script name for build:ios-unsigned

* Fix RN iOS scripts

* Update CI pods-dependencies step

* Add pipefail to android executor

* Update Fastlane

* Fix type in postinstall script

* update android executor and set TERM

* Fix S3 bucket name variable

* Apply suggestions from code review

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* Fix master unit tests

* use requireActual in jest setup

* Jest setup to use react instead of React

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-10-15 22:09:36 -03:00

149 lines
2.9 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Permalink should match snapshot 1`] = `
<Connect(SafeAreaIos)
backgroundColor="transparent"
excludeHeader={true}
footerColor="transparent"
>
<View
style={
Array [
Object {
"flex": 1,
"marginTop": 20,
},
null,
]
}
>
<withAnimatable(View)
animation="zoomIn"
delay={0}
direction="normal"
duration={200}
iterationCount={1}
iterationDelay={0}
onAnimationBegin={[Function]}
onAnimationEnd={[Function]}
onTransitionBegin={[Function]}
onTransitionEnd={[Function]}
style={
Object {
"backgroundColor": "#ffffff",
"borderRadius": 6,
"flex": 1,
"margin": 10,
"opacity": 0,
}
}
useNativeDriver={true}
>
<View
style={
Object {
"alignItems": "center",
"borderTopLeftRadius": 6,
"borderTopRightRadius": 6,
"flexDirection": "row",
"height": 44,
"paddingRight": 16,
"width": "100%",
}
}
>
<ForwardRef
onPress={[Function]}
style={
Object {
"height": 44,
"justifyContent": "center",
"paddingLeft": 7,
"width": 40,
}
}
>
<CompassIcon
color="#3d3c40"
name="close"
size={20}
/>
</ForwardRef>
<View
style={
Object {
"alignItems": "center",
"flex": 1,
"paddingRight": 40,
}
}
>
<Text
ellipsizeMode="tail"
numberOfLines={1}
style={
Object {
"color": "#3d3c40",
"fontSize": 17,
"fontWeight": "600",
}
}
>
channel_name
</Text>
</View>
</View>
<View
style={
Object {
"backgroundColor": "#ffffff",
}
}
>
<View
style={
Object {
"backgroundColor": "rgba(61,60,64,0.2)",
"height": 1,
}
}
/>
</View>
<View
style={
Array [
Object {
"flex": 1,
},
null,
]
}
>
<Loading
color="#3d3c40"
size="large"
style={Object {}}
/>
</View>
</withAnimatable(View)>
</View>
</Connect(SafeAreaIos)>
`;
exports[`Permalink should match snapshot 2`] = `
<Text>
<CompassIcon
name="archive-outline"
style={
Array [
Object {
"color": "#3d3c40",
"fontSize": 16,
"paddingRight": 20,
},
]
}
/>
</Text>
`;