mattermost-mobile/app/screens/interactive_dialog/__snapshots__/interactive_dialog.test.js.snap
Saturnino Abril f8698d0293 MM-21342 Fix leading zero on post by using react-intl by default and fallback to moment-timezone for unsupported locale (#3797)
* used react-intl for post time as default and moment-timezone as fallback

* add @testing-library/react-native to better test component rendering
2020-01-13 20:12:51 -03:00

55 lines
1.5 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`InteractiveDialog should display introduction text if present 1`] = `
<View
style={
Object {
"backgroundColor": "rgba(61,60,64,0.03)",
}
}
>
<ScrollView
style={
Object {
"marginBottom": 20,
"marginTop": 10,
}
}
>
<Connect(StatusBar) />
<DialogIntroductionText
isLandscape={false}
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",
}
}
value="**Some** _introduction_ text"
/>
</ScrollView>
</View>
`;