Skip to content

Commit

Permalink
Update MenuItem snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Q authored and jasmussen committed Oct 20, 2020
1 parent 4eddb2a commit 0204313
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions packages/components/src/menu-item/test/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ exports[`MenuItem should match snapshot when all props provided 1`] = `
onClick={[Function]}
role="menuitemcheckbox"
>
My item
<span
className="components-menu-item__item"
>
My item
</span>
<Shortcut
className="components-menu-item__shortcut"
shortcut="mod+shift+alt+w"
Expand All @@ -34,13 +38,21 @@ exports[`MenuItem should match snapshot when info is provided 1`] = `
role="menuitem"
>
<span
className="components-menu-item__info-wrapper"
className="components-menu-item__item"
>
My item
<span
className="components-menu-item__info"
className="components-menu-item__info-wrapper"
>
Extended description of My Item
<span
className="components-menu-item__item"
>
My item
</span>
<span
className="components-menu-item__info"
>
Extended description of My Item
</span>
</span>
</span>
<Shortcut
Expand All @@ -55,7 +67,11 @@ exports[`MenuItem should match snapshot when isSelected and role are optionally
onClick={[Function]}
role="menuitem"
>
My item
<span
className="components-menu-item__item"
>
My item
</span>
<Shortcut
className="components-menu-item__shortcut"
shortcut="mod+shift+alt+w"
Expand All @@ -81,7 +97,11 @@ exports[`MenuItem should match snapshot when only label provided 1`] = `
className="components-menu-item__button"
role="menuitem"
>
My item
<span
className="components-menu-item__item"
>
My item
</span>
<Shortcut
className="components-menu-item__shortcut"
/>
Expand Down

0 comments on commit 0204313

Please sign in to comment.