Skip to content

Commit 209dd52

Browse files
committed
Update snapshots
1 parent 6056998 commit 209dd52

File tree

3 files changed

+33
-57
lines changed

3 files changed

+33
-57
lines changed

packages/module/src/Ansible/__snapshots__/Ansible.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`Ansible component should render supported - boolean 1`] = `
44
<div>
55
<i
6-
class="ansible-0-2-1 supported-0-2-2"
6+
class="ansible-0-2-1 ansibleSupported-0-2-2"
77
>
88
<svg
99
style="enable-background: new 0 0 2032 2027.2;"
@@ -27,7 +27,7 @@ exports[`Ansible component should render supported - boolean 1`] = `
2727
exports[`Ansible component should render supported - number 1`] = `
2828
<div>
2929
<i
30-
class="ansible-0-2-1 supported-0-2-2"
30+
class="ansible-0-2-1 ansibleSupported-0-2-2"
3131
>
3232
<svg
3333
style="enable-background: new 0 0 2032 2027.2;"
@@ -51,7 +51,7 @@ exports[`Ansible component should render supported - number 1`] = `
5151
exports[`Ansible component should render unsupported - boolean 1`] = `
5252
<div>
5353
<i
54-
class="ansible-0-2-1 unsupported-0-2-3"
54+
class="ansible-0-2-1 ansibleUnsupported-0-2-3"
5555
>
5656
<svg
5757
style="enable-background: new 0 0 2032 2027.2;"
@@ -99,7 +99,7 @@ exports[`Ansible component should render unsupported - boolean 1`] = `
9999
exports[`Ansible component should render unsupported - number 1`] = `
100100
<div>
101101
<i
102-
class="ansible-0-2-1 unsupported-0-2-3"
102+
class="ansible-0-2-1 ansibleUnsupported-0-2-3"
103103
>
104104
<svg
105105
style="enable-background: new 0 0 2032 2027.2;"

packages/module/src/Battery/__snapshots__/Batery.test.tsx.snap

Lines changed: 25 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports[`Battery component API should hide label 1`] = `
44
<div>
55
<i
66
aria-label="high high"
7-
class="battery-0-2-1 battery-high-0-2-11"
7+
class="battery-0-2-1 batteryHigh-0-2-5"
88
widget-id="high"
99
widget-type="InsightsBattery"
1010
>
@@ -31,7 +31,7 @@ exports[`Battery component API should hide label 1`] = `
3131
exports[`Battery component should render correctly CriticalBattery - 4 1`] = `
3232
<div>
3333
<i
34-
class="battery-0-2-1 battery-4-0-2-13"
34+
class="battery-0-2-1 batteryCritical-0-2-6"
3535
widget-id="4"
3636
widget-type="InsightsBattery"
3737
>
@@ -52,9 +52,7 @@ exports[`Battery component should render correctly CriticalBattery - 4 1`] = `
5252
/>
5353
</svg>
5454
</i>
55-
<span
56-
class="label"
57-
>
55+
<span>
5856
5957
4
6058
@@ -65,7 +63,7 @@ exports[`Battery component should render correctly CriticalBattery - 4 1`] = `
6563
exports[`Battery component should render correctly CriticalBattery - critical 1`] = `
6664
<div>
6765
<i
68-
class="battery-0-2-1 battery-critical-0-2-14"
66+
class="battery-0-2-1 batteryCritical-0-2-6"
6967
widget-id="critical"
7068
widget-type="InsightsBattery"
7169
>
@@ -86,9 +84,7 @@ exports[`Battery component should render correctly CriticalBattery - critical 1`
8684
/>
8785
</svg>
8886
</i>
89-
<span
90-
class="label"
91-
>
87+
<span>
9288
9389
critical
9490
@@ -99,7 +95,7 @@ exports[`Battery component should render correctly CriticalBattery - critical 1`
9995
exports[`Battery component should render correctly HighBattery - 3 1`] = `
10096
<div>
10197
<i
102-
class="battery-0-2-1 battery-3-0-2-10"
98+
class="battery-0-2-1 batteryHigh-0-2-5"
10399
widget-id="3"
104100
widget-type="InsightsBattery"
105101
>
@@ -120,9 +116,7 @@ exports[`Battery component should render correctly HighBattery - 3 1`] = `
120116
/>
121117
</svg>
122118
</i>
123-
<span
124-
class="label"
125-
>
119+
<span>
126120
127121
3
128122
@@ -133,7 +127,7 @@ exports[`Battery component should render correctly HighBattery - 3 1`] = `
133127
exports[`Battery component should render correctly HighBattery - error 1`] = `
134128
<div>
135129
<i
136-
class="battery-0-2-1 battery-error-0-2-12"
130+
class="battery-0-2-1 batteryHigh-0-2-5"
137131
widget-id="error"
138132
widget-type="InsightsBattery"
139133
>
@@ -154,9 +148,7 @@ exports[`Battery component should render correctly HighBattery - error 1`] = `
154148
/>
155149
</svg>
156150
</i>
157-
<span
158-
class="label"
159-
>
151+
<span>
160152
161153
error
162154
@@ -167,7 +159,7 @@ exports[`Battery component should render correctly HighBattery - error 1`] = `
167159
exports[`Battery component should render correctly HighBattery - high 1`] = `
168160
<div>
169161
<i
170-
class="battery-0-2-1 battery-high-0-2-11"
162+
class="battery-0-2-1 batteryHigh-0-2-5"
171163
widget-id="high"
172164
widget-type="InsightsBattery"
173165
>
@@ -188,9 +180,7 @@ exports[`Battery component should render correctly HighBattery - high 1`] = `
188180
/>
189181
</svg>
190182
</i>
191-
<span
192-
class="label"
193-
>
183+
<span>
194184
195185
high
196186
@@ -201,7 +191,7 @@ exports[`Battery component should render correctly HighBattery - high 1`] = `
201191
exports[`Battery component should render correctly LowBattery - 1 1`] = `
202192
<div>
203193
<i
204-
class="battery-0-2-1 battery-1-0-2-4"
194+
class="battery-0-2-1 batteryLow-0-2-3"
205195
widget-id="1"
206196
widget-type="InsightsBattery"
207197
>
@@ -222,9 +212,7 @@ exports[`Battery component should render correctly LowBattery - 1 1`] = `
222212
/>
223213
</svg>
224214
</i>
225-
<span
226-
class="label"
227-
>
215+
<span>
228216
229217
1
230218
@@ -235,7 +223,7 @@ exports[`Battery component should render correctly LowBattery - 1 1`] = `
235223
exports[`Battery component should render correctly LowBattery - info 1`] = `
236224
<div>
237225
<i
238-
class="battery-0-2-1 battery-info-0-2-6"
226+
class="battery-0-2-1 batteryLow-0-2-3"
239227
widget-id="info"
240228
widget-type="InsightsBattery"
241229
>
@@ -256,9 +244,7 @@ exports[`Battery component should render correctly LowBattery - info 1`] = `
256244
/>
257245
</svg>
258246
</i>
259-
<span
260-
class="label"
261-
>
247+
<span>
262248
263249
info
264250
@@ -269,7 +255,7 @@ exports[`Battery component should render correctly LowBattery - info 1`] = `
269255
exports[`Battery component should render correctly LowBattery - low 1`] = `
270256
<div>
271257
<i
272-
class="battery-0-2-1 battery-low-0-2-5"
258+
class="battery-0-2-1 batteryLow-0-2-3"
273259
widget-id="low"
274260
widget-type="InsightsBattery"
275261
>
@@ -290,9 +276,7 @@ exports[`Battery component should render correctly LowBattery - low 1`] = `
290276
/>
291277
</svg>
292278
</i>
293-
<span
294-
class="label"
295-
>
279+
<span>
296280
297281
low
298282
@@ -303,7 +287,7 @@ exports[`Battery component should render correctly LowBattery - low 1`] = `
303287
exports[`Battery component should render correctly MediumBattery - 2 1`] = `
304288
<div>
305289
<i
306-
class="battery-0-2-1 battery-2-0-2-7"
290+
class="battery-0-2-1 batteryMedium-0-2-4"
307291
widget-id="2"
308292
widget-type="InsightsBattery"
309293
>
@@ -324,9 +308,7 @@ exports[`Battery component should render correctly MediumBattery - 2 1`] = `
324308
/>
325309
</svg>
326310
</i>
327-
<span
328-
class="label"
329-
>
311+
<span>
330312
331313
2
332314
@@ -337,7 +319,7 @@ exports[`Battery component should render correctly MediumBattery - 2 1`] = `
337319
exports[`Battery component should render correctly MediumBattery - medium 1`] = `
338320
<div>
339321
<i
340-
class="battery-0-2-1 battery-medium-0-2-8"
322+
class="battery-0-2-1 batteryMedium-0-2-4"
341323
widget-id="medium"
342324
widget-type="InsightsBattery"
343325
>
@@ -358,9 +340,7 @@ exports[`Battery component should render correctly MediumBattery - medium 1`] =
358340
/>
359341
</svg>
360342
</i>
361-
<span
362-
class="label"
363-
>
343+
<span>
364344
365345
medium
366346
@@ -371,7 +351,7 @@ exports[`Battery component should render correctly MediumBattery - medium 1`] =
371351
exports[`Battery component should render correctly MediumBattery - warn 1`] = `
372352
<div>
373353
<i
374-
class="battery-0-2-1 battery-warn-0-2-9"
354+
class="battery-0-2-1 batteryMedium-0-2-4"
375355
widget-id="warn"
376356
widget-type="InsightsBattery"
377357
>
@@ -392,9 +372,7 @@ exports[`Battery component should render correctly MediumBattery - warn 1`] = `
392372
/>
393373
</svg>
394374
</i>
395-
<span
396-
class="label"
397-
>
375+
<span>
398376
399377
warn
400378
@@ -405,7 +383,7 @@ exports[`Battery component should render correctly MediumBattery - warn 1`] = `
405383
exports[`Battery component should render correctly NullBatery, default 1`] = `
406384
<div>
407385
<i
408-
class="battery-0-2-1"
386+
class="battery-0-2-1 batteryDefault-0-2-2"
409387
widget-id=""
410388
widget-type="InsightsBattery"
411389
>
@@ -426,9 +404,7 @@ exports[`Battery component should render correctly NullBatery, default 1`] = `
426404
/>
427405
</svg>
428406
</i>
429-
<span
430-
class="label"
431-
>
407+
<span>
432408
433409
434410
</span>

packages/module/src/LongTextTooltip/__snapshots__/LongTextTooltip.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,19 +280,19 @@ exports[`LongTextTooltip component should render content with maxLength shorter
280280
<div
281281
style="display: contents;"
282282
>
283-
<div>
283+
<span>
284284
285-
</div>
285+
</span>
286286
</div>
287287
</div>
288288
</body>,
289289
"container": <div>
290290
<div
291291
style="display: contents;"
292292
>
293-
<div>
293+
<span>
294294
295-
</div>
295+
</span>
296296
</div>
297297
</div>,
298298
"debug": [Function],

0 commit comments

Comments
 (0)