mirror of
https://github.com/zhigang1992/react-native-segmented-control-tab.git
synced 2026-01-12 17:42:48 +08:00
Remove redundant files.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
/* @flow */
|
||||
|
||||
import React from 'react'
|
||||
import renderer from 'react-test-renderer'
|
||||
import TabOption from '../TabOption'
|
||||
|
||||
test('renders correctly', () => {
|
||||
const tree = renderer.create(<TabOption text="Tab value" />).toJSON()
|
||||
expect(tree).toMatchSnapshot()
|
||||
})
|
||||
@@ -1,52 +0,0 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`renders correctly 1`] = `
|
||||
<View
|
||||
accessibilityLabel=""
|
||||
accessible={true}
|
||||
isTVSelectable={true}
|
||||
onResponderGrant={[Function]}
|
||||
onResponderMove={[Function]}
|
||||
onResponderRelease={[Function]}
|
||||
onResponderTerminate={[Function]}
|
||||
onResponderTerminationRequest={[Function]}
|
||||
onStartShouldSetResponder={[Function]}
|
||||
style={
|
||||
Object {
|
||||
"alignItems": "center",
|
||||
"backgroundColor": "white",
|
||||
"borderColor": "#0076FF",
|
||||
"borderWidth": 1,
|
||||
"flex": 1,
|
||||
"justifyContent": "center",
|
||||
"opacity": 1,
|
||||
"paddingVertical": 5,
|
||||
}
|
||||
}
|
||||
>
|
||||
<View
|
||||
style={
|
||||
Object {
|
||||
"flexDirection": "row",
|
||||
}
|
||||
}
|
||||
>
|
||||
<Text
|
||||
allowFontScaling={false}
|
||||
ellipsizeMode="tail"
|
||||
numberOfLines={1}
|
||||
style={
|
||||
Array [
|
||||
Object {
|
||||
"color": "#0076FF",
|
||||
},
|
||||
Object {},
|
||||
Object {},
|
||||
]
|
||||
}
|
||||
>
|
||||
Tab value
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
`;
|
||||
Reference in New Issue
Block a user