* Use AppGroupId from Info.plists instead of hardcoded constant * Update script, ci & Makefile * Update Cocoapods to 1.9.3 * Split android builds using ABI filters * Update Fastlane deps & build scripts * Update CI to use latests scripts * Display app version & build number in select server screen * Make generate scripts compatible with node < 12 * Build scripts * add build script to package.json * Update to use bundler 2.1.4 and CI with Xcode 12 * Fix script name for build:ios-unsigned * Fix RN iOS scripts * Update CI pods-dependencies step * Add pipefail to android executor * Update Fastlane * Fix type in postinstall script * update android executor and set TERM * Fix S3 bucket name variable * Apply suggestions from code review Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com> * Fix master unit tests * use requireActual in jest setup * Jest setup to use react instead of React Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
190 lines
3.6 KiB
Text
190 lines
3.6 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={
|
|
Array [
|
|
Object {
|
|
"backgroundColor": "#ffffff",
|
|
"borderBottomColor": "rgba(61,60,64,0.1)",
|
|
"borderBottomWidth": 1,
|
|
"borderTopColor": "rgba(61,60,64,0.1)",
|
|
"borderTopWidth": 1,
|
|
},
|
|
null,
|
|
]
|
|
}
|
|
>
|
|
<ForwardRef
|
|
onPress={[Function]}
|
|
>
|
|
<View
|
|
style={
|
|
Array [
|
|
Object {
|
|
"alignItems": "center",
|
|
"flexDirection": "row",
|
|
"paddingHorizontal": 15,
|
|
},
|
|
null,
|
|
]
|
|
}
|
|
>
|
|
<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={
|
|
Array [
|
|
Object {
|
|
"alignItems": "center",
|
|
"flexDirection": "row",
|
|
"paddingHorizontal": 15,
|
|
},
|
|
null,
|
|
]
|
|
}
|
|
>
|
|
<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={
|
|
Array [
|
|
Object {
|
|
"alignItems": "center",
|
|
"flexDirection": "row",
|
|
"paddingHorizontal": 15,
|
|
},
|
|
null,
|
|
]
|
|
}
|
|
>
|
|
<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
|
|
style={null}
|
|
>
|
|
<Text
|
|
style={
|
|
Object {
|
|
"color": "#fd5960",
|
|
"fontSize": 12,
|
|
"marginHorizontal": 15,
|
|
"marginTop": 10,
|
|
}
|
|
}
|
|
>
|
|
some error message
|
|
</Text>
|
|
</View>
|
|
</View>
|
|
`;
|