Update test snapshot

This commit is contained in:
Bill Thornton 2021-11-24 00:44:03 -05:00
parent c57ae44a5a
commit 9b3fdd9cc8

View File

@ -33,6 +33,16 @@ exports[`DevSettingsScreen should render correctly 1`] = `
"title": "Native Audio Player",
"value": false,
},
Object {
"badge": Object {
"status": "error",
"value": "Experimental",
},
"key": "experimental-downloads-switch",
"onValueChange": [Function],
"title": "File Download Support",
"value": false,
},
]
}
disableVirtualization={false}
@ -234,6 +244,180 @@ exports[`DevSettingsScreen should render correctly 1`] = `
</View>
</View>
</View>
<View
onLayout={[Function]}
style={null}
>
<View
testID="switch-list-item"
>
<View
style={
Object {
"alignItems": "center",
"backgroundColor": "#ffffff",
"borderBottomWidth": 0.5,
"borderColor": "#bcbbc1",
"flexDirection": "row",
"padding": 14,
}
}
testID="padView"
>
<View
style={
Array [
Object {
"alignItems": "flex-start",
"flex": 1,
"justifyContent": "center",
},
undefined,
]
}
theme={
Object {
"colors": Object {
"black": "#242424",
"disabled": "hsl(208, 8%, 90%)",
"divider": "#bcbbc1",
"error": "#ff190c",
"grey0": "#393e42",
"grey1": "#43484d",
"grey2": "#5e6977",
"grey3": "#86939e",
"grey4": "#bdc6cf",
"grey5": "#e1e8ee",
"greyOutline": "#bbb",
"platform": Object {
"android": Object {
"error": "#f44336",
"grey": "rgba(0, 0, 0, 0.54)",
"primary": "#2196f3",
"searchBg": "#dcdce1",
"secondary": "#9C27B0",
"success": "#4caf50",
"warning": "#ffeb3b",
},
"default": Object {
"error": "#ff3b30",
"grey": "#7d7d7d",
"primary": "#007aff",
"searchBg": "#dcdce1",
"secondary": "#5856d6",
"success": "#4cd964",
"warning": "#ffcc00",
},
"ios": Object {
"error": "#ff3b30",
"grey": "#7d7d7d",
"primary": "#007aff",
"searchBg": "#dcdce1",
"secondary": "#5856d6",
"success": "#4cd964",
"warning": "#ffcc00",
},
"web": Object {
"error": "#ff190c",
"grey": "#393e42",
"primary": "#2089dc",
"searchBg": "#303337",
"secondary": "#ca71eb",
"success": "#52c41a",
"warning": "#faad14",
},
},
"primary": "#2089dc",
"searchBg": "#303337",
"secondary": "#ca71eb",
"success": "#52c41a",
"warning": "#faad14",
"white": "#ffffff",
},
}
}
>
<View
style={
Object {
"flexDirection": "row",
}
}
>
<Text
style={
Object {
"backgroundColor": "transparent",
"color": "#242424",
"fontSize": 17,
}
}
testID="title"
>
File Download Support
</Text>
<View
style={
Object {
"marginStart": 8,
}
}
>
<View
style={
Object {
"alignItems": "center",
"alignSelf": "center",
"backgroundColor": "#ff190c",
"borderColor": "#fff",
"borderRadius": 9,
"borderWidth": 0.5,
"height": 18,
"justifyContent": "center",
"minWidth": 18,
}
}
testID="badge"
>
<Text
style={
Object {
"color": "white",
"fontSize": 12,
"paddingHorizontal": 4,
}
}
>
Experimental
</Text>
</View>
</View>
</View>
</View>
<View
style={
Object {
"paddingLeft": 16,
}
}
/>
<RCTSwitch
accessibilityRole="switch"
onChange={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
"height": 31,
"width": 51,
}
}
testID="switch"
value={false}
/>
</View>
</View>
</View>
</View>
</RCTScrollView>
</RNCSafeAreaView>