Skip to content

Commit

Permalink
test: fix snap
Browse files Browse the repository at this point in the history
  • Loading branch information
warmhug committed Jun 15, 2018
1 parent 7bdb87d commit f5f7240
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions components/tag/__tests__/__snapshots__/demo.test.native.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -529,5 +529,84 @@ exports[`renders ./components/tag/demo/basic.native.tsx correctly 1`] = `
</Text>
</View>
</View>
<View
style={
Array [
Object {
"height": 9,
},
undefined,
]
}
/>
<View
style={
Array [
Object {
"backgroundColor": "transparent",
"borderRadius": 3,
"flexDirection": "row",
"overflow": "visible",
},
undefined,
]
}
>
<View
accessibilityComponentType={undefined}
accessibilityLabel={undefined}
accessibilityTraits={undefined}
accessible={true}
hitSlop={undefined}
nativeID={undefined}
onLayout={undefined}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Array [
Object {
"borderRadius": 3,
"borderStyle": "solid",
"borderWidth": 0.5,
"overflow": "hidden",
"paddingHorizontal": 15,
"paddingVertical": 6,
},
Object {},
Object {
"backgroundColor": "#ffffff",
"borderColor": "#dddddd",
},
]
}
testID={undefined}
>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Array [
Object {
"fontSize": 12,
"textAlign": "center",
},
Object {},
Object {
"color": "#888888",
},
]
}
>
LongPress
</Text>
</View>
</View>
</View>
`;

0 comments on commit f5f7240

Please sign in to comment.