1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
- exports [` SkiaChart Component does not render Canvas when svgString is not provided 1` ] = ` null` ;
4
-
5
3
exports [` SkiaChart Component does not render GestureHandler when handleGesture is false 1` ] = `
6
4
<View
7
5
style = {
@@ -14,7 +12,7 @@ exports[`SkiaChart Component does not render GestureHandler when handleGesture i
14
12
/>
15
13
` ;
16
14
17
- exports [` SkiaChart Component renders Canvas when svgString is provided 1` ] = `
15
+ exports [` SkiaChart Component renders GestureHandler when handleGesture is true and useRNGH is ture 1` ] = `
18
16
<View
19
17
style = {
20
18
{
@@ -25,18 +23,7 @@ exports[`SkiaChart Component renders Canvas when svgString is provided 1`] = `
25
23
testID = " component"
26
24
>
27
25
<View
28
- onMoveShouldSetResponder = { [Function ]}
29
- onMoveShouldSetResponderCapture = { [Function ]}
30
- onResponderEnd = { [Function ]}
31
- onResponderGrant = { [Function ]}
32
- onResponderMove = { [Function ]}
33
- onResponderReject = { [Function ]}
34
- onResponderRelease = { [Function ]}
35
- onResponderStart = { [Function ]}
36
- onResponderTerminate = { [Function ]}
37
- onResponderTerminationRequest = { [Function ]}
38
- onStartShouldSetResponder = { [Function ]}
39
- onStartShouldSetResponderCapture = { [Function ]}
26
+ collapsable = { false }
40
27
style = {
41
28
{
42
29
" backgroundColor" : " rgba(0,0,0,0)" ,
@@ -45,12 +32,12 @@ exports[`SkiaChart Component renders Canvas when svgString is provided 1`] = `
45
32
" width" : " 100%" ,
46
33
}
47
34
}
48
- testID = " pan-responder -handler"
35
+ testID = " gesture -handler"
49
36
/>
50
37
</View >
51
38
` ;
52
39
53
- exports [` SkiaChart Component renders GestureHandler when handleGesture is true and useRNGH is ture 1` ] = `
40
+ exports [` SkiaChart Component renders PanResponderHandler when handleGesture is true and useRNGH is false 1` ] = `
54
41
<View
55
42
style = {
56
43
{
@@ -61,7 +48,18 @@ exports[`SkiaChart Component renders GestureHandler when handleGesture is true a
61
48
testID = " component"
62
49
>
63
50
<View
64
- collapsable = { false }
51
+ onMoveShouldSetResponder = { [Function ]}
52
+ onMoveShouldSetResponderCapture = { [Function ]}
53
+ onResponderEnd = { [Function ]}
54
+ onResponderGrant = { [Function ]}
55
+ onResponderMove = { [Function ]}
56
+ onResponderReject = { [Function ]}
57
+ onResponderRelease = { [Function ]}
58
+ onResponderStart = { [Function ]}
59
+ onResponderTerminate = { [Function ]}
60
+ onResponderTerminationRequest = { [Function ]}
61
+ onStartShouldSetResponder = { [Function ]}
62
+ onStartShouldSetResponderCapture = { [Function ]}
65
63
style = {
66
64
{
67
65
" backgroundColor" : " rgba(0,0,0,0)" ,
@@ -70,12 +68,12 @@ exports[`SkiaChart Component renders GestureHandler when handleGesture is true a
70
68
" width" : " 100%" ,
71
69
}
72
70
}
73
- testID = " gesture -handler"
71
+ testID = " pan-responder -handler"
74
72
/>
75
73
</View >
76
74
` ;
77
75
78
- exports [` SkiaChart Component renders PanResponderHandler when handleGesture is true and useRNGH is false 1` ] = `
76
+ exports [` SkiaChart Component renders correctly 1` ] = `
79
77
<View
80
78
style = {
81
79
{
@@ -111,10 +109,6 @@ exports[`SkiaChart Component renders PanResponderHandler when handleGesture is t
111
109
</View >
112
110
` ;
113
111
114
- exports [` SkiaChart Component renders correctly 1` ] = ` null` ;
115
-
116
- exports [` SvgChart Component does not render Canvas when svgString is not provided 1` ] = ` null` ;
117
-
118
112
exports [` SvgChart Component does not render GestureHandler when handleGesture is false 1` ] = `
119
113
<View
120
114
style = {
@@ -163,77 +157,6 @@ exports[`SvgChart Component does not render GestureHandler when handleGesture is
163
157
</View >
164
158
` ;
165
159
166
- exports [` SvgChart Component renders Canvas when svgString is provided 1` ] = `
167
- <View
168
- style = {
169
- {
170
- " height" : 100 ,
171
- " width" : 100 ,
172
- }
173
- }
174
- testID = " component"
175
- >
176
- <RNSVGSvgView
177
- align = " xMidYMid"
178
- bbHeight = { 100 }
179
- bbWidth = { 100 }
180
- focusable = { false }
181
- height = { 100 }
182
- meetOrSlice = { 0 }
183
- minX = { 0 }
184
- minY = { 0 }
185
- style = {
186
- [
187
- {
188
- " backgroundColor" : " transparent" ,
189
- " borderWidth" : 0 ,
190
- },
191
- {
192
- " flex" : 0 ,
193
- " height" : 100 ,
194
- " width" : 100 ,
195
- },
196
- ]
197
- }
198
- vbHeight = { 100 }
199
- vbWidth = { 100 }
200
- width = { 100 }
201
- >
202
- <RNSVGGroup
203
- fill = {
204
- {
205
- " payload" : 4278190080 ,
206
- " type" : 0 ,
207
- }
208
- }
209
- />
210
- </RNSVGSvgView >
211
- <View
212
- onMoveShouldSetResponder = { [Function ]}
213
- onMoveShouldSetResponderCapture = { [Function ]}
214
- onResponderEnd = { [Function ]}
215
- onResponderGrant = { [Function ]}
216
- onResponderMove = { [Function ]}
217
- onResponderReject = { [Function ]}
218
- onResponderRelease = { [Function ]}
219
- onResponderStart = { [Function ]}
220
- onResponderTerminate = { [Function ]}
221
- onResponderTerminationRequest = { [Function ]}
222
- onStartShouldSetResponder = { [Function ]}
223
- onStartShouldSetResponderCapture = { [Function ]}
224
- style = {
225
- {
226
- " backgroundColor" : " rgba(0,0,0,0)" ,
227
- " height" : " 100%" ,
228
- " position" : " absolute" ,
229
- " width" : " 100%" ,
230
- }
231
- }
232
- testID = " pan-responder-handler"
233
- />
234
- </View >
235
- ` ;
236
-
237
160
exports [` SvgChart Component renders GestureHandler when handleGesture is true and useRNGH is ture 1` ] = `
238
161
<View
239
162
style = {
0 commit comments