* new themes and theme type updates * update theme processing port newer functionality from webapp * update theme UI including new svg-based thumbnail * lint fixes * update snapshots and tests * update theme tile border approach * remove unused path component * remove old variable typo * remove old variable type from theme type * lint and snapshot updates * update snapshots
78 lines
1.8 KiB
Text
78 lines
1.8 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`SavedPosts should match snapshot 1`] = `
|
|
<RNCSafeAreaView
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
}
|
|
}
|
|
testID="saved_messages.screen"
|
|
>
|
|
<Connect(StatusBar) />
|
|
<Connect(ChannelLoader)
|
|
channelIsLoading={true}
|
|
/>
|
|
</RNCSafeAreaView>
|
|
`;
|
|
|
|
exports[`SavedPosts should match snapshot when component waiting for response 1`] = `
|
|
<RNCSafeAreaView
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
}
|
|
}
|
|
testID="saved_messages.screen"
|
|
>
|
|
<Connect(StatusBar) />
|
|
<Connect(ChannelLoader)
|
|
channelIsLoading={true}
|
|
/>
|
|
</RNCSafeAreaView>
|
|
`;
|
|
|
|
exports[`SavedPosts should match snapshot when getFlaggedPosts failed 1`] = `
|
|
<RNCSafeAreaView
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
}
|
|
}
|
|
testID="saved_messages.screen"
|
|
>
|
|
<Connect(StatusBar) />
|
|
<Connect(FailedNetworkAction)
|
|
onRetry={[Function]}
|
|
theme={
|
|
Object {
|
|
"awayIndicator": "#ffbc1f",
|
|
"buttonBg": "#1c58d9",
|
|
"buttonColor": "#ffffff",
|
|
"centerChannelBg": "#ffffff",
|
|
"centerChannelColor": "#3f4350",
|
|
"codeTheme": "github",
|
|
"dndIndicator": "#d24b4e",
|
|
"errorTextColor": "#d24b4e",
|
|
"linkColor": "#386fe5",
|
|
"mentionBg": "#ffffff",
|
|
"mentionColor": "#1e325c",
|
|
"mentionHighlightBg": "#ffd470",
|
|
"mentionHighlightLink": "#1b1d22",
|
|
"newMessageSeparator": "#cc8f00",
|
|
"onlineIndicator": "#3db887",
|
|
"sidebarBg": "#1e325c",
|
|
"sidebarHeaderBg": "#192a4d",
|
|
"sidebarHeaderTextColor": "#ffffff",
|
|
"sidebarTeamBarBg": "#14213e",
|
|
"sidebarText": "#ffffff",
|
|
"sidebarTextActiveBorder": "#5d89ea",
|
|
"sidebarTextActiveColor": "#ffffff",
|
|
"sidebarTextHoverBg": "#28427b",
|
|
"sidebarUnreadText": "#ffffff",
|
|
"type": "Denim",
|
|
}
|
|
}
|
|
/>
|
|
</RNCSafeAreaView>
|
|
`;
|