Skip to content

Commit

Permalink
Update snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Aug 28, 2020
1 parent 4826cbe commit 576baaa
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ exports[`ColorPaletteControl matches the snapshot 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"
d="M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"
/>
</svg>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ exports[`ColorPalette should render a dynamic toolbar of colors 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<Path
d="M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"
d="M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"
/>
</SVG>
}
Expand All @@ -377,10 +377,10 @@ exports[`ColorPalette should render a dynamic toolbar of colors 1`] = `
xmlns="http://www.w3.org/2000/svg"
>
<Path
d="M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"
d="M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"
>
<path
d="M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"
d="M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"
/>
</Path>
</svg>
Expand Down
48 changes: 26 additions & 22 deletions packages/components/src/menu-item/test/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@ exports[`MenuItem should match snapshot when all props provided 1`] = `
<ForwardRef(Button)
aria-checked={true}
className="components-menu-item__button my-class"
icon={
<SVG
className="components-menu-items__item-icon"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<Path
d="M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"
/>
</SVG>
}
onClick={[Function]}
role="menuitemcheckbox"
>
Expand All @@ -23,6 +12,19 @@ exports[`MenuItem should match snapshot when all props provided 1`] = `
className="components-menu-item__shortcut"
shortcut="mod+shift+alt+w"
/>
<Icon
icon={
<SVG
className="components-menu-items__item-icon"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<Path
d="M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"
/>
</SVG>
}
/>
</ForwardRef(Button)>
`;

Expand Down Expand Up @@ -50,17 +52,6 @@ exports[`MenuItem should match snapshot when info is provided 1`] = `
exports[`MenuItem should match snapshot when isSelected and role are optionally provided 1`] = `
<ForwardRef(Button)
className="components-menu-item__button my-class"
icon={
<SVG
className="components-menu-items__item-icon"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<Path
d="M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"
/>
</SVG>
}
onClick={[Function]}
role="menuitem"
>
Expand All @@ -69,6 +60,19 @@ exports[`MenuItem should match snapshot when isSelected and role are optionally
className="components-menu-item__shortcut"
shortcut="mod+shift+alt+w"
/>
<Icon
icon={
<SVG
className="components-menu-items__item-icon"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<Path
d="M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"
/>
</SVG>
}
/>
</ForwardRef(Button)>
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ exports[`EnableCustomFieldsOption renders a checked checkbox and a confirmation
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"
d="M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"
/>
</svg>
</span>
Expand Down Expand Up @@ -90,7 +90,7 @@ exports[`EnableCustomFieldsOption renders a checked checkbox when custom fields
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"
d="M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"
/>
</svg>
</span>
Expand Down

0 comments on commit 576baaa

Please sign in to comment.