Skip to content

Commit 218ca60

Browse files
committed
test: update unit tests snapshots
1 parent ebb97ee commit 218ca60

File tree

2 files changed

+45
-88
lines changed

2 files changed

+45
-88
lines changed

packages/pluggableWidgets/popup-menu-native/src/__tests__/__snapshots__/PopupMenu.spec.tsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ exports[`Popup menu renders 1`] = `
9696
"overflow": "hidden",
9797
}
9898
}
99+
testID="popup-menu_menu"
99100
>
100101
<View
101102
accessibilityState={
@@ -264,6 +265,7 @@ exports[`Popup menu renders custom items 1`] = `
264265
"overflow": "hidden",
265266
}
266267
}
268+
testID="popup-menu_menu"
267269
>
268270
<View
269271
accessible={true}

packages/pluggableWidgets/progress-circle-native/src/__tests__/__snapshots__/ProgressCircle.spec.tsx.snap

Lines changed: 43 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -17,105 +17,60 @@ exports[`ProgressCircle renders 1`] = `
1717
}
1818
testID="progress-circle-test"
1919
>
20-
<ARTSurfaceView
20+
<RNSVGSvgView
21+
bbHeight={100}
22+
bbWidth={100}
23+
collapsable={false}
24+
focusable={false}
25+
height={100}
2126
style={
2227
[
2328
{
24-
"transform": [
25-
{
26-
"rotate": "0deg",
27-
},
28-
],
29+
"backgroundColor": "transparent",
30+
"borderWidth": 0,
2931
},
32+
{},
3033
{
34+
"flex": 0,
3135
"height": 100,
3236
"width": 100,
3337
},
3438
]
3539
}
40+
width={100}
3641
>
37-
<ARTShape
38-
d={
39-
[
40-
0,
41-
50,
42-
2.5,
43-
3,
44-
76.23352561696268,
45-
2.5,
46-
97.5,
47-
23.766474383037306,
48-
97.5,
49-
49.99999999999999,
50-
3,
51-
97.5,
52-
76.23352561696268,
53-
76.2335256169627,
54-
97.5,
55-
50.000000000000014,
56-
97.5,
57-
]
58-
}
59-
fill={null}
60-
opacity={1}
61-
stroke="#6200ee"
62-
strokeCap={2}
63-
strokeDash={null}
64-
strokeJoin={1}
65-
strokeWidth={3}
66-
transform={
67-
[
68-
1,
69-
0,
70-
0,
71-
1,
72-
0,
73-
0,
74-
]
75-
}
76-
/>
77-
<ARTShape
78-
d={
79-
[
80-
0,
81-
50,
82-
0.5,
83-
4,
84-
50,
85-
50,
86-
49.5,
87-
-1.5707963267948966,
88-
1.5707963267948966,
89-
1,
90-
4,
91-
50,
92-
50,
93-
49.5,
94-
1.5707963267948966,
95-
-1.5707963267948966,
96-
1,
97-
1,
98-
]
99-
}
100-
fill={null}
101-
opacity={1}
102-
stroke="#6200ee"
103-
strokeCap={2}
104-
strokeDash={null}
105-
strokeJoin={1}
106-
strokeWidth={1}
107-
transform={
108-
[
109-
1,
110-
0,
111-
0,
112-
1,
113-
0,
114-
0,
115-
]
116-
}
117-
/>
118-
</ARTSurfaceView>
42+
<RNSVGGroup>
43+
<RNSVGPath
44+
d="M50 2.5
45+
A47.5 47.5 0 0 1 50.00000000000001 97.5"
46+
propList={
47+
[
48+
"stroke",
49+
"strokeWidth",
50+
"strokeLinecap",
51+
]
52+
}
53+
stroke={-10354450}
54+
strokeLinecap={2}
55+
strokeWidth={3}
56+
/>
57+
<RNSVGPath
58+
d="M50 0.5
59+
a49.5 49.5 0 0 1 0 99
60+
a49.5 49.5 0 0 1 0 -99"
61+
propList={
62+
[
63+
"stroke",
64+
"strokeWidth",
65+
"strokeLinecap",
66+
]
67+
}
68+
stroke={-10354450}
69+
strokeLinecap={2}
70+
strokeWidth={1}
71+
/>
72+
</RNSVGGroup>
73+
</RNSVGSvgView>
11974
<View
12075
style={
12176
{

0 commit comments

Comments
 (0)