* Remove search unused status flags * fix lint, fix wrong variable usage * remove comment * add test, fix bug with wrong PropTypes * make test cleaner
79 lines
1.9 KiB
Text
79 lines
1.9 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`FlaggedPosts should match snapshot 1`] = `
|
|
<View
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
}
|
|
}
|
|
>
|
|
<Connect(StatusBar) />
|
|
<Connect(ChannelLoader)
|
|
channelIsLoading={true}
|
|
/>
|
|
</View>
|
|
`;
|
|
|
|
exports[`FlaggedPosts should match snapshot when component waiting for response 1`] = `
|
|
<View
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
}
|
|
}
|
|
>
|
|
<Connect(StatusBar) />
|
|
<Connect(ChannelLoader)
|
|
channelIsLoading={true}
|
|
/>
|
|
</View>
|
|
`;
|
|
|
|
exports[`FlaggedPosts should match snapshot when getFlaggedPosts failed 1`] = `
|
|
<View
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
}
|
|
}
|
|
>
|
|
<Connect(StatusBar) />
|
|
<FailedNetworkAction
|
|
actionDefaultMessage="try again"
|
|
actionId="mobile.failed_network_action.retry"
|
|
errorDefaultMessage="Messages will load when you have an internet connection or {tryAgainAction}."
|
|
errorId="mobile.failed_network_action.shortDescription"
|
|
onRetry={[Function]}
|
|
theme={
|
|
Object {
|
|
"awayIndicator": "#ffbc42",
|
|
"buttonBg": "#166de0",
|
|
"buttonColor": "#ffffff",
|
|
"centerChannelBg": "#ffffff",
|
|
"centerChannelColor": "#3d3c40",
|
|
"codeTheme": "github",
|
|
"dndIndicator": "#f74343",
|
|
"errorTextColor": "#fd5960",
|
|
"linkColor": "#2389d7",
|
|
"mentionBg": "#ffffff",
|
|
"mentionBj": "#ffffff",
|
|
"mentionColor": "#145dbf",
|
|
"mentionHighlightBg": "#ffe577",
|
|
"mentionHighlightLink": "#166de0",
|
|
"newMessageSeparator": "#ff8800",
|
|
"onlineIndicator": "#06d6a0",
|
|
"sidebarBg": "#145dbf",
|
|
"sidebarHeaderBg": "#1153ab",
|
|
"sidebarHeaderTextColor": "#ffffff",
|
|
"sidebarText": "#ffffff",
|
|
"sidebarTextActiveBorder": "#579eff",
|
|
"sidebarTextActiveColor": "#ffffff",
|
|
"sidebarTextHoverBg": "#4578bf",
|
|
"sidebarUnreadText": "#ffffff",
|
|
"type": "Mattermost",
|
|
}
|
|
}
|
|
/>
|
|
</View>
|
|
`;
|