File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ test('Matches shallow shapshot', () => {
8
8
renderer . render ( (
9
9
< Item
10
10
currentSubMenuTitle = "title"
11
- icon = "icon url"
11
+ icon = { < div /> }
12
12
title = "title"
13
13
link = "menu url"
14
14
/>
@@ -18,7 +18,7 @@ test('Matches shallow shapshot', () => {
18
18
renderer . render ( (
19
19
< Item
20
20
currentSubMenuTitle = "another title"
21
- icon = "icon url"
21
+ icon = { < div /> }
22
22
title = "title"
23
23
link = "menu url"
24
24
/>
Original file line number Diff line number Diff line change 2
2
3
3
exports [` Matches shallow shapshot 1` ] = `
4
4
<li
5
- className = " src-shared-components-TopcoderHeader-desktop-SubMenu-Item-___style__item___2Q-ud src-shared-components-TopcoderHeader-desktop-SubMenu-Item-___style__current___38PHh "
5
+ className = " src-shared-components-TopcoderHeader-desktop-SubMenu-Item-___style__item___2b5P3 src-shared-components-TopcoderHeader-desktop-SubMenu-Item-___style__current___4GzMO "
6
6
role = " button"
7
7
tabIndex = { 0 }
8
8
>
@@ -11,15 +11,17 @@ exports[`Matches shallow shapshot 1`] = `
11
11
openNewTab = { false }
12
12
to = " menu url"
13
13
>
14
- icon url
14
+ <div
15
+ aria-label = " title"
16
+ />
15
17
title
16
18
</Link >
17
19
</li >
18
20
` ;
19
21
20
22
exports [` Matches shallow shapshot 2` ] = `
21
23
<li
22
- className = " src-shared-components-TopcoderHeader-desktop-SubMenu-Item-___style__item___2Q-ud "
24
+ className = " src-shared-components-TopcoderHeader-desktop-SubMenu-Item-___style__item___2b5P3 "
23
25
role = " button"
24
26
tabIndex = { 0 }
25
27
>
@@ -28,7 +30,9 @@ exports[`Matches shallow shapshot 2`] = `
28
30
openNewTab = { false }
29
31
to = " menu url"
30
32
>
31
- icon url
33
+ <div
34
+ aria-label = " title"
35
+ />
32
36
title
33
37
</Link >
34
38
</li >
You can’t perform that action at this time.
0 commit comments