Skip to content

Commit

Permalink
fix(jss): Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac committed Oct 9, 2023
1 parent 6056998 commit 11c0b34
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`Ansible component should render supported - boolean 1`] = `
<div>
<i
class="ansible-0-2-1 supported-0-2-2"
class="ansible-0-2-1 ansibleSupported-0-2-2"
>
<svg
style="enable-background: new 0 0 2032 2027.2;"
Expand All @@ -27,7 +27,7 @@ exports[`Ansible component should render supported - boolean 1`] = `
exports[`Ansible component should render supported - number 1`] = `
<div>
<i
class="ansible-0-2-1 supported-0-2-2"
class="ansible-0-2-1 ansibleSupported-0-2-2"
>
<svg
style="enable-background: new 0 0 2032 2027.2;"
Expand All @@ -51,7 +51,7 @@ exports[`Ansible component should render supported - number 1`] = `
exports[`Ansible component should render unsupported - boolean 1`] = `
<div>
<i
class="ansible-0-2-1 unsupported-0-2-3"
class="ansible-0-2-1 ansibleUnsupported-0-2-3"
>
<svg
style="enable-background: new 0 0 2032 2027.2;"
Expand Down Expand Up @@ -99,7 +99,7 @@ exports[`Ansible component should render unsupported - boolean 1`] = `
exports[`Ansible component should render unsupported - number 1`] = `
<div>
<i
class="ansible-0-2-1 unsupported-0-2-3"
class="ansible-0-2-1 ansibleUnsupported-0-2-3"
>
<svg
style="enable-background: new 0 0 2032 2027.2;"
Expand Down
74 changes: 25 additions & 49 deletions packages/module/src/Battery/__snapshots__/Batery.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`Battery component API should hide label 1`] = `
<div>
<i
aria-label="high high"
class="battery-0-2-1 battery-high-0-2-11"
class="battery-0-2-1 batteryHigh-0-2-5"
widget-id="high"
widget-type="InsightsBattery"
>
Expand All @@ -31,7 +31,7 @@ exports[`Battery component API should hide label 1`] = `
exports[`Battery component should render correctly CriticalBattery - 4 1`] = `
<div>
<i
class="battery-0-2-1 battery-4-0-2-13"
class="battery-0-2-1 batteryCritical-0-2-6"
widget-id="4"
widget-type="InsightsBattery"
>
Expand All @@ -52,9 +52,7 @@ exports[`Battery component should render correctly CriticalBattery - 4 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
4
Expand All @@ -65,7 +63,7 @@ exports[`Battery component should render correctly CriticalBattery - 4 1`] = `
exports[`Battery component should render correctly CriticalBattery - critical 1`] = `
<div>
<i
class="battery-0-2-1 battery-critical-0-2-14"
class="battery-0-2-1 batteryCritical-0-2-6"
widget-id="critical"
widget-type="InsightsBattery"
>
Expand All @@ -86,9 +84,7 @@ exports[`Battery component should render correctly CriticalBattery - critical 1`
/>
</svg>
</i>
<span
class="label"
>
<span>
critical
Expand All @@ -99,7 +95,7 @@ exports[`Battery component should render correctly CriticalBattery - critical 1`
exports[`Battery component should render correctly HighBattery - 3 1`] = `
<div>
<i
class="battery-0-2-1 battery-3-0-2-10"
class="battery-0-2-1 batteryHigh-0-2-5"
widget-id="3"
widget-type="InsightsBattery"
>
Expand All @@ -120,9 +116,7 @@ exports[`Battery component should render correctly HighBattery - 3 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
3
Expand All @@ -133,7 +127,7 @@ exports[`Battery component should render correctly HighBattery - 3 1`] = `
exports[`Battery component should render correctly HighBattery - error 1`] = `
<div>
<i
class="battery-0-2-1 battery-error-0-2-12"
class="battery-0-2-1 batteryHigh-0-2-5"
widget-id="error"
widget-type="InsightsBattery"
>
Expand All @@ -154,9 +148,7 @@ exports[`Battery component should render correctly HighBattery - error 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
error
Expand All @@ -167,7 +159,7 @@ exports[`Battery component should render correctly HighBattery - error 1`] = `
exports[`Battery component should render correctly HighBattery - high 1`] = `
<div>
<i
class="battery-0-2-1 battery-high-0-2-11"
class="battery-0-2-1 batteryHigh-0-2-5"
widget-id="high"
widget-type="InsightsBattery"
>
Expand All @@ -188,9 +180,7 @@ exports[`Battery component should render correctly HighBattery - high 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
high
Expand All @@ -201,7 +191,7 @@ exports[`Battery component should render correctly HighBattery - high 1`] = `
exports[`Battery component should render correctly LowBattery - 1 1`] = `
<div>
<i
class="battery-0-2-1 battery-1-0-2-4"
class="battery-0-2-1 batteryLow-0-2-3"
widget-id="1"
widget-type="InsightsBattery"
>
Expand All @@ -222,9 +212,7 @@ exports[`Battery component should render correctly LowBattery - 1 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
1
Expand All @@ -235,7 +223,7 @@ exports[`Battery component should render correctly LowBattery - 1 1`] = `
exports[`Battery component should render correctly LowBattery - info 1`] = `
<div>
<i
class="battery-0-2-1 battery-info-0-2-6"
class="battery-0-2-1 batteryLow-0-2-3"
widget-id="info"
widget-type="InsightsBattery"
>
Expand All @@ -256,9 +244,7 @@ exports[`Battery component should render correctly LowBattery - info 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
info
Expand All @@ -269,7 +255,7 @@ exports[`Battery component should render correctly LowBattery - info 1`] = `
exports[`Battery component should render correctly LowBattery - low 1`] = `
<div>
<i
class="battery-0-2-1 battery-low-0-2-5"
class="battery-0-2-1 batteryLow-0-2-3"
widget-id="low"
widget-type="InsightsBattery"
>
Expand All @@ -290,9 +276,7 @@ exports[`Battery component should render correctly LowBattery - low 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
low
Expand All @@ -303,7 +287,7 @@ exports[`Battery component should render correctly LowBattery - low 1`] = `
exports[`Battery component should render correctly MediumBattery - 2 1`] = `
<div>
<i
class="battery-0-2-1 battery-2-0-2-7"
class="battery-0-2-1 batteryMedium-0-2-4"
widget-id="2"
widget-type="InsightsBattery"
>
Expand All @@ -324,9 +308,7 @@ exports[`Battery component should render correctly MediumBattery - 2 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
2
Expand All @@ -337,7 +319,7 @@ exports[`Battery component should render correctly MediumBattery - 2 1`] = `
exports[`Battery component should render correctly MediumBattery - medium 1`] = `
<div>
<i
class="battery-0-2-1 battery-medium-0-2-8"
class="battery-0-2-1 batteryMedium-0-2-4"
widget-id="medium"
widget-type="InsightsBattery"
>
Expand All @@ -358,9 +340,7 @@ exports[`Battery component should render correctly MediumBattery - medium 1`] =
/>
</svg>
</i>
<span
class="label"
>
<span>
medium
Expand All @@ -371,7 +351,7 @@ exports[`Battery component should render correctly MediumBattery - medium 1`] =
exports[`Battery component should render correctly MediumBattery - warn 1`] = `
<div>
<i
class="battery-0-2-1 battery-warn-0-2-9"
class="battery-0-2-1 batteryMedium-0-2-4"
widget-id="warn"
widget-type="InsightsBattery"
>
Expand All @@ -392,9 +372,7 @@ exports[`Battery component should render correctly MediumBattery - warn 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
warn
Expand All @@ -405,7 +383,7 @@ exports[`Battery component should render correctly MediumBattery - warn 1`] = `
exports[`Battery component should render correctly NullBatery, default 1`] = `
<div>
<i
class="battery-0-2-1"
class="battery-0-2-1 batteryDefault-0-2-2"
widget-id=""
widget-type="InsightsBattery"
>
Expand All @@ -426,9 +404,7 @@ exports[`Battery component should render correctly NullBatery, default 1`] = `
/>
</svg>
</i>
<span
class="label"
>
<span>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,19 +280,19 @@ exports[`LongTextTooltip component should render content with maxLength shorter
<div
style="display: contents;"
>
<div>
<span>
</div>
</span>
</div>
</div>
</body>,
"container": <div>
<div
style="display: contents;"
>
<div>
<span>
</div>
</span>
</div>
</div>,
"debug": [Function],
Expand Down

0 comments on commit 11c0b34

Please sign in to comment.