Skip to content

Commit 522c410

Browse files
committed
Test fixes after rebase to master
1 parent cfe802d commit 522c410

File tree

1 file changed

+62
-20
lines changed

1 file changed

+62
-20
lines changed

src/components/side_nav/__snapshots__/side_nav.test.js.snap

+62-20
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,20 @@ exports[`EuiSideNav items is rendered 1`] = `
142142
<svg
143143
aria-hidden="true"
144144
class="euiIcon euiSideNav__mobileIcon euiIcon--medium"
145+
height="16"
146+
viewBox="0 0 16 16"
147+
width="16"
148+
xlink="http://www.w3.org/1999/xlink"
149+
xmlns="http://www.w3.org/2000/svg"
145150
>
146-
<title>
147-
apps icon
148-
</title>
151+
<defs>
152+
<path
153+
d="M2 4V2h2v2H2zm5 0V2h2v2H7zm5 0V2h2v2h-2zM2 9V7h2v2H2zm5 0V7h2v2H7zm5 0V7h2v2h-2zM2 14v-2h2v2H2zm5 0v-2h2v2H7zm5 0v-2h2v2h-2z"
154+
id="apps-a"
155+
/>
156+
</defs>
149157
<use
150-
href="#apps"
158+
href="#apps-a"
151159
/>
152160
</svg>
153161
</span>
@@ -207,12 +215,21 @@ exports[`EuiSideNav items is rendered 1`] = `
207215
</span>
208216
<svg
209217
class="euiIcon euiIcon--medium"
218+
height="16"
219+
viewBox="0 0 16 16"
220+
width="16"
221+
xlink="http://www.w3.org/1999/xlink"
222+
xmlns="http://www.w3.org/2000/svg"
210223
>
211-
<title>
212-
arrow down icon
213-
</title>
224+
<defs>
225+
<path
226+
d="M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"
227+
id="arrow_down-a"
228+
/>
229+
</defs>
214230
<use
215-
href="#arrow_down"
231+
fill-rule="nonzero"
232+
href="#arrow_down-a"
216233
/>
217234
</svg>
218235
</span>
@@ -241,12 +258,20 @@ exports[`EuiSideNav items renders items with are links 1`] = `
241258
<svg
242259
aria-hidden="true"
243260
class="euiIcon euiSideNav__mobileIcon euiIcon--medium"
261+
height="16"
262+
viewBox="0 0 16 16"
263+
width="16"
264+
xlink="http://www.w3.org/1999/xlink"
265+
xmlns="http://www.w3.org/2000/svg"
244266
>
245-
<title>
246-
apps icon
247-
</title>
267+
<defs>
268+
<path
269+
d="M2 4V2h2v2H2zm5 0V2h2v2H7zm5 0V2h2v2h-2zM2 9V7h2v2H2zm5 0V7h2v2H7zm5 0V7h2v2h-2zM2 14v-2h2v2H2zm5 0v-2h2v2H7zm5 0v-2h2v2h-2z"
270+
id="apps-a"
271+
/>
272+
</defs>
248273
<use
249-
href="#apps"
274+
href="#apps-a"
250275
/>
251276
</svg>
252277
</span>
@@ -307,12 +332,21 @@ exports[`EuiSideNav items renders items with are links 1`] = `
307332
</span>
308333
<svg
309334
class="euiIcon euiIcon--medium"
335+
height="16"
336+
viewBox="0 0 16 16"
337+
width="16"
338+
xlink="http://www.w3.org/1999/xlink"
339+
xmlns="http://www.w3.org/2000/svg"
310340
>
311-
<title>
312-
arrow down icon
313-
</title>
341+
<defs>
342+
<path
343+
d="M13.069 5.157L8.384 9.768a.546.546 0 0 1-.768 0L2.93 5.158a.552.552 0 0 0-.771 0 .53.53 0 0 0 0 .759l4.684 4.61c.641.631 1.672.63 2.312 0l4.684-4.61a.53.53 0 0 0 0-.76.552.552 0 0 0-.771 0z"
344+
id="arrow_down-a"
345+
/>
346+
</defs>
314347
<use
315-
href="#arrow_down"
348+
fill-rule="nonzero"
349+
href="#arrow_down-a"
316350
/>
317351
</svg>
318352
</span>
@@ -341,12 +375,20 @@ exports[`EuiSideNav items renders selected item and automatically opens parent i
341375
<svg
342376
aria-hidden="true"
343377
class="euiIcon euiSideNav__mobileIcon euiIcon--medium"
378+
height="16"
379+
viewBox="0 0 16 16"
380+
width="16"
381+
xlink="http://www.w3.org/1999/xlink"
382+
xmlns="http://www.w3.org/2000/svg"
344383
>
345-
<title>
346-
apps icon
347-
</title>
384+
<defs>
385+
<path
386+
d="M2 4V2h2v2H2zm5 0V2h2v2H7zm5 0V2h2v2h-2zM2 9V7h2v2H2zm5 0V7h2v2H7zm5 0V7h2v2h-2zM2 14v-2h2v2H2zm5 0v-2h2v2H7zm5 0v-2h2v2h-2z"
387+
id="apps-a"
388+
/>
389+
</defs>
348390
<use
349-
href="#apps"
391+
href="#apps-a"
350392
/>
351393
</svg>
352394
</span>

0 commit comments

Comments
 (0)