Skip to content

Commit b3665d6

Browse files
committed
[5.2.0-rc.1] chore: test
1 parent 91c8a9f commit b3665d6

File tree

9 files changed

+7664
-1770
lines changed

9 files changed

+7664
-1770
lines changed

.jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ const transformPackages = [
88
'react-native-collapsible',
99
'@bang88/react-native-ultimate-listview',
1010
'@react-native-community',
11-
'react-native-gesture-handler'
11+
'react-native-gesture-handler',
12+
'react-native-reanimated'
1213
];
1314

1415
module.exports = {

components/picker/__tests__/__snapshots__/index.test.js.snap

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,28 @@
22

33
exports[`Picker test cascade props when cascade={true} should be render MultiPicker 1`] = `
44
Array [
5-
<View
5+
<RCTScrollView
6+
bounces={false}
67
collapsable={false}
7-
style={
8+
contentContainerStyle={
89
Object {
910
"flex": 1,
1011
}
1112
}
13+
nestedScrollEnabled={true}
14+
onTouchEnd={[Function]}
1215
>
13-
<Text
14-
disabled={false}
15-
extra="请选择"
16-
onPress={[Function]}
17-
testID="button"
18-
>
19-
省市选择
20-
</Text>
21-
</View>,
16+
<View>
17+
<Text
18+
disabled={false}
19+
extra="请选择"
20+
onPress={[Function]}
21+
testID="button"
22+
>
23+
省市选择
24+
</Text>
25+
</View>
26+
</RCTScrollView>,
2227
<View
2328
collapsable={false}
2429
pointerEvents="box-none"

0 commit comments

Comments
 (0)