mattermost-mobile/app/screens/thread/__snapshots__/thread.ios.test.js.snap
Elias Nahum 1a1c73279b
Upgrade Dependencies (#4034)
* Upgrade Navigation library

* Fix background color on Select Server

* Upgrade Navigation library

* Apply patch to nav lib

* Upgrade RNN to 6.1.1

* Update Dependencies

* Feedback review

* Call clearNavigationComponents when reset to channel
2020-03-18 19:09:20 -03:00

163 lines
3.4 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`thread should match snapshot, has root post 1`] = `
<React.Fragment>
<Connect(SafeAreaIos)
excludeHeader={true}
forceInsets={true}
>
<View
style={
Object {
"backgroundColor": "rgba(61,60,64,0.2)",
"height": 1,
}
}
/>
<Connect(StatusBar) />
<React.Fragment>
<Connect(PostList)
currentUserId="member_user_id"
indicateNewMessages={false}
lastPostIndex={2}
lastViewedAt={0}
location="thread"
onPostPress={[Function]}
postIds={
Array [
"root_id",
"post_id_1",
"post_id_2",
]
}
renderFooter={
<Loading
color="#3d3c40"
size="large"
style={Object {}}
/>
}
scrollViewNativeID="threadPostList"
/>
<View
nativeID="threadAccessoriesContainer"
>
<Connect(Autocomplete)
cursorPositionEvent="onThreadTextBoxCursorChange"
maxHeight={200}
onChangeText={[Function]}
rootId="root_id"
valueEvent="onThreadTextBoxValueChange"
/>
</View>
</React.Fragment>
</Connect(SafeAreaIos)>
<KeyboardTrackingView
accessoriesContainerID="threadAccessoriesContainer"
scrollViewNativeID="threadPostList"
>
<Connect(PostTextBoxIOS)
channelId="channel_id"
channelIsArchived={false}
cursorPositionEvent="onThreadTextBoxCursorChange"
onCloseChannel={[Function]}
rootId="root_id"
valueEvent="onThreadTextBoxValueChange"
/>
</KeyboardTrackingView>
</React.Fragment>
`;
exports[`thread should match snapshot, no root post, loading 1`] = `
<React.Fragment>
<Connect(SafeAreaIos)
excludeHeader={true}
forceInsets={true}
>
<View
style={
Object {
"backgroundColor": "rgba(61,60,64,0.2)",
"height": 1,
}
}
/>
<Connect(StatusBar) />
<Loading
color="#3d3c40"
size="large"
style={Object {}}
/>
</Connect(SafeAreaIos)>
</React.Fragment>
`;
exports[`thread should match snapshot, render footer 1`] = `
<Connect(PostList)
currentUserId="member_user_id"
indicateNewMessages={false}
lastPostIndex={2}
lastViewedAt={0}
location="thread"
onPostPress={[Function]}
postIds={
Array [
"root_id",
"post_id_1",
"post_id_2",
]
}
renderFooter={
<Loading
color="#3d3c40"
size="large"
style={Object {}}
/>
}
scrollViewNativeID="threadPostList"
/>
`;
exports[`thread should match snapshot, render footer 2`] = `
<Connect(PostList)
currentUserId="member_user_id"
indicateNewMessages={false}
lastPostIndex={2}
lastViewedAt={0}
location="thread"
onPostPress={[Function]}
postIds={
Array [
"root_id",
"post_id_1",
"post_id_2",
]
}
renderFooter={null}
scrollViewNativeID="threadPostList"
/>
`;
exports[`thread should match snapshot, render footer 3`] = `
<React.Fragment>
<Connect(SafeAreaIos)
excludeHeader={true}
forceInsets={true}
>
<View
style={
Object {
"backgroundColor": "rgba(61,60,64,0.2)",
"height": 1,
}
}
/>
<Connect(StatusBar) />
<Loading
color="#3d3c40"
size="large"
style={Object {}}
/>
</Connect(SafeAreaIos)>
</React.Fragment>
`;