Skip to content

Commit

Permalink
[EuiIcon] Fix silenced test errors (#7249)
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Oct 3, 2023
1 parent cdf1e43 commit afb99a4
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 104 deletions.
102 changes: 51 additions & 51 deletions src/components/icon/__snapshots__/icon.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4617,7 +4617,7 @@ exports[`EuiIcon props type logoApache is rendered 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<defs>
<linearGradient
<lineargradient
id="logo_apache_generated-id_a"
x1="21.902%"
x2="141.879%"
Expand All @@ -4636,8 +4636,8 @@ exports[`EuiIcon props type logoApache is rendered 1`] = `
offset="83.83%"
stop-color="#E97826"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_apache_generated-id_b"
x1="-217.651%"
x2="74.743%"
Expand All @@ -4660,8 +4660,8 @@ exports[`EuiIcon props type logoApache is rendered 1`] = `
offset="100%"
stop-color="#E97826"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_apache_generated-id_c"
x1="-80.044%"
x2="146.24%"
Expand All @@ -4684,8 +4684,8 @@ exports[`EuiIcon props type logoApache is rendered 1`] = `
offset="100%"
stop-color="#E97826"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_apache_generated-id_d"
x1="-18.316%"
x2="165.002%"
Expand All @@ -4708,8 +4708,8 @@ exports[`EuiIcon props type logoApache is rendered 1`] = `
offset="94.87%"
stop-color="#CD2032"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_apache_generated-id_e"
x1="-109.701%"
x2="64.617%"
Expand All @@ -4732,8 +4732,8 @@ exports[`EuiIcon props type logoApache is rendered 1`] = `
offset="100%"
stop-color="#E97826"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_apache_generated-id_f"
x1="-34.88%"
x2="110.599%"
Expand All @@ -4756,8 +4756,8 @@ exports[`EuiIcon props type logoApache is rendered 1`] = `
offset="100%"
stop-color="#E97826"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_apache_generated-id_g"
x1="-13.673%"
x2="117.858%"
Expand All @@ -4780,7 +4780,7 @@ exports[`EuiIcon props type logoApache is rendered 1`] = `
offset="94.87%"
stop-color="#CD2032"
/>
</linearGradient>
</lineargradient>
</defs>
<g
fill="none"
Expand Down Expand Up @@ -5144,7 +5144,7 @@ exports[`EuiIcon props type logoDropwizard is rendered 1`] = `
fill="#24265D"
/>
<defs>
<linearGradient
<lineargradient
gradientUnits="userSpaceOnUse"
id="logo_dropwizard_generated-id_a"
x1="33.473"
Expand All @@ -5167,8 +5167,8 @@ exports[`EuiIcon props type logoDropwizard is rendered 1`] = `
offset="1"
stop-color="#252761"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
gradientUnits="userSpaceOnUse"
id="logo_dropwizard_generated-id_b"
x1="21.028"
Expand All @@ -5191,7 +5191,7 @@ exports[`EuiIcon props type logoDropwizard is rendered 1`] = `
offset="1"
stop-color="#252761"
/>
</linearGradient>
</lineargradient>
</defs>
</svg>
`;
Expand Down Expand Up @@ -5380,8 +5380,8 @@ exports[`EuiIcon props type logoGCP is rendered 1`] = `
role="img"
viewBox="0 0 32 32"
width="32"
xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<defs>
<path
Expand Down Expand Up @@ -5422,7 +5422,7 @@ exports[`EuiIcon props type logoGCP is rendered 1`] = `
id="logo_gcp_generated-id_b"
>
<use
href="#logo_gcp_generated-id_a"
xlink:href="#logo_gcp_generated-id_a"
/>
</mask>
<path
Expand Down Expand Up @@ -5684,8 +5684,8 @@ exports[`EuiIcon props type logoGoogleG is rendered 1`] = `
role="img"
viewBox="0 0 32 32"
width="32"
xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<defs>
<path
Expand Down Expand Up @@ -5717,7 +5717,7 @@ exports[`EuiIcon props type logoGoogleG is rendered 1`] = `
id="logo_google_g_generated-id_b"
>
<use
href="#logo_google_g_generated-id_a"
xlink:href="#logo_google_g_generated-id_a"
/>
</mask>
<path
Expand All @@ -5735,7 +5735,7 @@ exports[`EuiIcon props type logoGoogleG is rendered 1`] = `
id="logo_google_g_generated-id_d"
>
<use
href="#logo_google_g_generated-id_c"
xlink:href="#logo_google_g_generated-id_c"
/>
</mask>
<path
Expand All @@ -5753,7 +5753,7 @@ exports[`EuiIcon props type logoGoogleG is rendered 1`] = `
id="logo_google_g_generated-id_f"
>
<use
href="#logo_google_g_generated-id_e"
xlink:href="#logo_google_g_generated-id_e"
/>
</mask>
<path
Expand All @@ -5771,7 +5771,7 @@ exports[`EuiIcon props type logoGoogleG is rendered 1`] = `
id="logo_google_g_generated-id_h"
>
<use
href="#logo_google_g_generated-id_g"
xlink:href="#logo_google_g_generated-id_g"
/>
</mask>
<path
Expand Down Expand Up @@ -5861,14 +5861,14 @@ exports[`EuiIcon props type logoHAproxy is rendered 1`] = `
/>
</g>
<defs>
<clipPath
<clippath
id="logo_haproxy_generated-id_a"
>
<path
d="M0 0h32v32H0V0Z"
fill="#fff"
/>
</clipPath>
</clippath>
</defs>
</svg>
`;
Expand All @@ -5886,7 +5886,7 @@ exports[`EuiIcon props type logoIBM is rendered 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<defs>
<linearGradient
<lineargradient
id="logo_ibm_generated-id_a"
x1="8.005%"
x2="53.33%"
Expand All @@ -5907,8 +5907,8 @@ exports[`EuiIcon props type logoIBM is rendered 1`] = `
offset="100%"
stop-color="#21A2EF"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_ibm_generated-id_b"
x1="19.496%"
x2="71.309%"
Expand All @@ -5924,8 +5924,8 @@ exports[`EuiIcon props type logoIBM is rendered 1`] = `
stop-color="#6EAFF1"
stop-opacity="0"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_ibm_generated-id_c"
x1="21.909%"
x2="21.909%"
Expand All @@ -5950,8 +5950,8 @@ exports[`EuiIcon props type logoIBM is rendered 1`] = `
stop-color="#5CCFE5"
stop-opacity="0"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_ibm_generated-id_d"
x1="96.205%"
x2="-1.172%"
Expand All @@ -5976,8 +5976,8 @@ exports[`EuiIcon props type logoIBM is rendered 1`] = `
stop-color="#5CCFE5"
stop-opacity="0"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_ibm_generated-id_e"
x1="9.408%"
x2="80.589%"
Expand All @@ -5992,7 +5992,7 @@ exports[`EuiIcon props type logoIBM is rendered 1`] = `
offset="100%"
stop-color="#21A1EF"
/>
</linearGradient>
</lineargradient>
</defs>
<g
fill="none"
Expand Down Expand Up @@ -6213,7 +6213,7 @@ exports[`EuiIcon props type logoMemcached is rendered 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<defs>
<radialGradient
<radialgradient
cx="41.406%"
cy="42.708%"
fx="41.406%"
Expand All @@ -6229,8 +6229,8 @@ exports[`EuiIcon props type logoMemcached is rendered 1`] = `
offset="100%"
stop-color="#C83737"
/>
</radialGradient>
<radialGradient
</radialgradient>
<radialgradient
cx="44.271%"
cy="42.708%"
fx="44.271%"
Expand All @@ -6246,8 +6246,8 @@ exports[`EuiIcon props type logoMemcached is rendered 1`] = `
offset="100%"
stop-color="#C83737"
/>
</radialGradient>
<linearGradient
</radialgradient>
<lineargradient
id="logo_memcached_generated-id_a"
x1="50%"
x2="50%"
Expand All @@ -6262,8 +6262,8 @@ exports[`EuiIcon props type logoMemcached is rendered 1`] = `
offset="100%"
stop-color="#80716D"
/>
</linearGradient>
<linearGradient
</lineargradient>
<lineargradient
id="logo_memcached_generated-id_b"
x1="88.778%"
x2="30.149%"
Expand All @@ -6278,7 +6278,7 @@ exports[`EuiIcon props type logoMemcached is rendered 1`] = `
offset="100%"
stop-color="#2EA19E"
/>
</linearGradient>
</lineargradient>
</defs>
<g
fill="none"
Expand Down Expand Up @@ -6530,8 +6530,8 @@ exports[`EuiIcon props type logoPhp is rendered 1`] = `
role="img"
viewBox="0 0 32 32"
width="32"
xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<defs>
<path
Expand All @@ -6546,7 +6546,7 @@ exports[`EuiIcon props type logoPhp is rendered 1`] = `
d="M0 17.43h30.987V0H0z"
id="logo_php_generated-id_f"
/>
<radialGradient
<radialgradient
cx="30.02%"
cy="82.422%"
fx="30.02%"
Expand All @@ -6571,7 +6571,7 @@ exports[`EuiIcon props type logoPhp is rendered 1`] = `
offset="100%"
stop-color="#484C89"
/>
</radialGradient>
</radialgradient>
</defs>
<g
fill="none"
Expand All @@ -6586,7 +6586,7 @@ exports[`EuiIcon props type logoPhp is rendered 1`] = `
id="logo_php_generated-id_c"
>
<use
href="#logo_php_generated-id_a"
xlink:href="#logo_php_generated-id_a"
/>
</mask>
<g
Expand All @@ -6604,7 +6604,7 @@ exports[`EuiIcon props type logoPhp is rendered 1`] = `
id="logo_php_generated-id_e"
>
<use
href="#logo_php_generated-id_d"
xlink:href="#logo_php_generated-id_d"
/>
</mask>
<g
Expand All @@ -6621,7 +6621,7 @@ exports[`EuiIcon props type logoPhp is rendered 1`] = `
id="logo_php_generated-id_g"
>
<use
href="#logo_php_generated-id_f"
xlink:href="#logo_php_generated-id_f"
/>
</mask>
<g
Expand Down
Loading

0 comments on commit afb99a4

Please sign in to comment.