2017-08-18 15:50:48 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2017-08-22 01:43:29 +00:00
|
|
|
exports[`render channel 1`] = `
|
|
|
|
<View
|
|
|
|
accessibilityComponentType={undefined}
|
|
|
|
accessibilityLabel={undefined}
|
|
|
|
accessibilityTraits={undefined}
|
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"height": 56,
|
|
|
|
"opacity": 1,
|
|
|
|
"paddingLeft": 16,
|
|
|
|
"paddingRight": 16,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
|
|
|
>
|
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"borderRadius": 20,
|
|
|
|
"height": 40,
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
|
|
|
"width": 40,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#00BCD4",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 12,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"color": "#fff",
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
general
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`render no icon 1`] = `
|
|
|
|
<View
|
|
|
|
accessibilityComponentType={undefined}
|
|
|
|
accessibilityLabel={undefined}
|
|
|
|
accessibilityTraits={undefined}
|
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"height": 56,
|
|
|
|
"opacity": 1,
|
|
|
|
"paddingLeft": 16,
|
|
|
|
"paddingRight": 16,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
|
|
|
>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`render private group 1`] = `
|
|
|
|
<View
|
|
|
|
accessibilityComponentType={undefined}
|
|
|
|
accessibilityLabel={undefined}
|
|
|
|
accessibilityTraits={undefined}
|
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"height": 56,
|
|
|
|
"opacity": 1,
|
|
|
|
"paddingLeft": 16,
|
|
|
|
"paddingRight": 16,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
|
|
|
>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
private-group
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`render unread +999 1`] = `
|
|
|
|
<View
|
|
|
|
accessibilityComponentType={undefined}
|
|
|
|
accessibilityLabel={undefined}
|
|
|
|
accessibilityTraits={undefined}
|
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"height": 56,
|
|
|
|
"opacity": 1,
|
|
|
|
"paddingLeft": 16,
|
|
|
|
"paddingRight": 16,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
|
|
|
>
|
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#3F51B5",
|
2017-09-01 19:42:50 +00:00
|
|
|
"borderRadius": 20,
|
|
|
|
"height": 40,
|
|
|
|
"width": 40,
|
2017-08-22 01:43:29 +00:00
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
undefined,
|
2017-08-22 01:43:29 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
2017-09-01 19:42:50 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
]
|
2017-08-22 01:43:29 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
NA
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#1d74f5",
|
|
|
|
"borderRadius": 5,
|
|
|
|
"color": "#fff",
|
|
|
|
"fontSize": 14,
|
|
|
|
"minWidth": 20,
|
|
|
|
"overflow": "hidden",
|
|
|
|
"paddingLeft": 5,
|
|
|
|
"paddingRight": 5,
|
|
|
|
"textAlign": "center",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
999+
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`render unread 1`] = `
|
|
|
|
<View
|
|
|
|
accessibilityComponentType={undefined}
|
|
|
|
accessibilityLabel={undefined}
|
|
|
|
accessibilityTraits={undefined}
|
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"height": 56,
|
|
|
|
"opacity": 1,
|
|
|
|
"paddingLeft": 16,
|
|
|
|
"paddingRight": 16,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
|
|
|
>
|
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#3F51B5",
|
2017-09-01 19:42:50 +00:00
|
|
|
"borderRadius": 20,
|
|
|
|
"height": 40,
|
|
|
|
"width": 40,
|
2017-08-22 01:43:29 +00:00
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
undefined,
|
2017-08-22 01:43:29 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
2017-09-01 19:42:50 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
]
|
2017-08-22 01:43:29 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
NA
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#1d74f5",
|
|
|
|
"borderRadius": 5,
|
|
|
|
"color": "#fff",
|
|
|
|
"fontSize": 14,
|
|
|
|
"minWidth": 20,
|
|
|
|
"overflow": "hidden",
|
|
|
|
"paddingLeft": 5,
|
|
|
|
"paddingRight": 5,
|
|
|
|
"textAlign": "center",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
2017-08-18 15:50:48 +00:00
|
|
|
exports[`renders correctly 1`] = `
|
|
|
|
<View
|
2017-08-22 01:43:29 +00:00
|
|
|
accessibilityComponentType={undefined}
|
|
|
|
accessibilityLabel={undefined}
|
|
|
|
accessibilityTraits={undefined}
|
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2017-08-18 15:50:48 +00:00
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"height": 56,
|
2017-08-22 01:43:29 +00:00
|
|
|
"opacity": 1,
|
2017-08-18 15:50:48 +00:00
|
|
|
"paddingLeft": 16,
|
|
|
|
"paddingRight": 16,
|
|
|
|
}
|
|
|
|
}
|
2017-08-22 01:43:29 +00:00
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
2017-08-18 15:50:48 +00:00
|
|
|
>
|
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#3F51B5",
|
2017-09-01 19:42:50 +00:00
|
|
|
"borderRadius": 20,
|
|
|
|
"height": 40,
|
|
|
|
"width": 40,
|
2017-08-18 15:50:48 +00:00
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
undefined,
|
2017-08-18 15:50:48 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
2017-09-01 19:42:50 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
]
|
2017-08-18 15:50:48 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
NA
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
disabled={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
`;
|