* MM-30164 fix safe area insets * Fix unit test setup mock for react-native-device-info * Add insets for edit profile screen * Fix about screen * Fix theme screen * Lock phone screen to portrait * fix unit tests * Fix autocomplete layout
176 lines
3.4 KiB
Text
176 lines
3.4 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`components/widgets/settings/RadioSetting should match snapshot when error is present 1`] = `
|
|
<View>
|
|
<View
|
|
style={
|
|
Object {
|
|
"flexDirection": "row",
|
|
"marginBottom": 10,
|
|
"marginTop": 15,
|
|
}
|
|
}
|
|
>
|
|
<Text
|
|
style={
|
|
Object {
|
|
"color": "#3d3c40",
|
|
"fontSize": 14,
|
|
"marginLeft": 15,
|
|
}
|
|
}
|
|
>
|
|
some label
|
|
</Text>
|
|
<Text
|
|
style={
|
|
Object {
|
|
"color": "#fd5960",
|
|
"fontSize": 14,
|
|
}
|
|
}
|
|
>
|
|
*
|
|
</Text>
|
|
</View>
|
|
<View
|
|
style={
|
|
Object {
|
|
"backgroundColor": "#ffffff",
|
|
"borderBottomColor": "rgba(61,60,64,0.1)",
|
|
"borderBottomWidth": 1,
|
|
"borderTopColor": "rgba(61,60,64,0.1)",
|
|
"borderTopWidth": 1,
|
|
}
|
|
}
|
|
>
|
|
<ForwardRef
|
|
onPress={[Function]}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"flexDirection": "row",
|
|
"paddingHorizontal": 15,
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"flex": 1,
|
|
"flexDirection": "row",
|
|
"height": 45,
|
|
}
|
|
}
|
|
>
|
|
<Text>
|
|
this is engineering
|
|
</Text>
|
|
</View>
|
|
</View>
|
|
<View
|
|
style={
|
|
Object {
|
|
"backgroundColor": "rgba(61,60,64,0.1)",
|
|
"flex": 1,
|
|
"height": 1,
|
|
"marginLeft": 15,
|
|
}
|
|
}
|
|
/>
|
|
</ForwardRef>
|
|
<ForwardRef
|
|
onPress={[Function]}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"flexDirection": "row",
|
|
"paddingHorizontal": 15,
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"flex": 1,
|
|
"flexDirection": "row",
|
|
"height": 45,
|
|
}
|
|
}
|
|
>
|
|
<Text>
|
|
this is sales
|
|
</Text>
|
|
</View>
|
|
</View>
|
|
<View
|
|
style={
|
|
Object {
|
|
"backgroundColor": "rgba(61,60,64,0.1)",
|
|
"flex": 1,
|
|
"height": 1,
|
|
"marginLeft": 15,
|
|
}
|
|
}
|
|
/>
|
|
</ForwardRef>
|
|
<ForwardRef
|
|
onPress={[Function]}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"flexDirection": "row",
|
|
"paddingHorizontal": 15,
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"flex": 1,
|
|
"flexDirection": "row",
|
|
"height": 45,
|
|
}
|
|
}
|
|
>
|
|
<Text>
|
|
this is administration
|
|
</Text>
|
|
</View>
|
|
<CompassIcon
|
|
name="check"
|
|
style={
|
|
Object {
|
|
"color": "#2389d7",
|
|
"fontSize": 12,
|
|
}
|
|
}
|
|
/>
|
|
</View>
|
|
</ForwardRef>
|
|
</View>
|
|
<View>
|
|
<Text
|
|
style={
|
|
Object {
|
|
"color": "#fd5960",
|
|
"fontSize": 12,
|
|
"marginHorizontal": 15,
|
|
"marginTop": 10,
|
|
}
|
|
}
|
|
>
|
|
some error message
|
|
</Text>
|
|
</View>
|
|
</View>
|
|
`;
|