Skip to content

Commit

Permalink
chore: fix snap
Browse files Browse the repository at this point in the history
  • Loading branch information
warmhug committed Jun 12, 2018
1 parent ef83bc4 commit 88b3e8f
Show file tree
Hide file tree
Showing 38 changed files with 29,450 additions and 40 deletions.
692 changes: 691 additions & 1 deletion components/accordion/__tests__/__snapshots__/demo.test.native.js.snap

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1,215 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders ./components/action-sheet/demo/basic.native.tsx correctly 1`] = `null`;
exports[`renders ./components/action-sheet/demo/basic.native.tsx correctly 1`] = `
<View
style={
Object {
"marginTop": 30,
}
}
>
<View
style={
Array [
Object {
"padding": 8,
},
]
}
>
<View
accessibilityComponentType={undefined}
accessibilityLabel={undefined}
accessibilityTraits={undefined}
accessible={true}
hasTVPreferredFocus={undefined}
hitSlop={undefined}
isTVSelectable={true}
nativeID={undefined}
onLayout={undefined}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Array [
Object {
"backgroundColor": "transparent",
},
Array [
Object {
"alignItems": "center",
"borderRadius": 5,
"borderWidth": 1,
"justifyContent": "center",
},
Object {
"height": 47,
"paddingLeft": 15,
"paddingRight": 15,
},
Object {
"backgroundColor": "#ffffff",
"borderColor": "#dddddd",
},
false,
false,
false,
undefined,
],
]
}
testID={undefined}
tvParallaxProperties={undefined}
>
<View
style={
Object {
"flexDirection": "row",
}
}
>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Array [
Object {
"fontSize": 18,
},
Object {
"color": "#000000",
},
false,
false,
]
}
>
showActionSheet
</Text>
</View>
</View>
</View>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Array [
Object {
"padding": 8,
},
]
}
>
clicked button:
none
</Text>
<View
style={
Array [
Object {
"padding": 8,
},
]
}
>
<View
accessibilityComponentType={undefined}
accessibilityLabel={undefined}
accessibilityTraits={undefined}
accessible={true}
hasTVPreferredFocus={undefined}
hitSlop={undefined}
isTVSelectable={true}
nativeID={undefined}
onLayout={undefined}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Array [
Object {
"backgroundColor": "transparent",
},
Array [
Object {
"alignItems": "center",
"borderRadius": 5,
"borderWidth": 1,
"justifyContent": "center",
},
Object {
"height": 47,
"paddingLeft": 15,
"paddingRight": 15,
},
Object {
"backgroundColor": "#ffffff",
"borderColor": "#dddddd",
},
false,
false,
false,
undefined,
],
]
}
testID={undefined}
tvParallaxProperties={undefined}
>
<View
style={
Object {
"flexDirection": "row",
}
}
>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Array [
Object {
"fontSize": 18,
},
Object {
"color": "#000000",
},
false,
false,
]
}
>
showShareActionSheet
</Text>
</View>
</View>
</View>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Array [
Object {
"padding": 8,
},
]
}
>
</Text>
</View>
`;
Loading

0 comments on commit 88b3e8f

Please sign in to comment.