2019-07-08 00:30:01 +07:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2019-12-03 15:44:44 +07:00
|
|
|
exports[`<ActionBar /> component should render the component in default state 1`] = `
|
|
|
|
.emotion-0 {
|
|
|
|
background-color: #4b5e40;
|
|
|
|
color: #fff;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2019-07-29 05:12:14 +07:00
|
|
|
|
2019-12-03 15:44:44 +07:00
|
|
|
<div
|
|
|
|
class="MuiBox-root MuiBox-root-2"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class=""
|
|
|
|
href="https://verdaccio.org"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="Visit homepage"
|
|
|
|
>
|
|
|
|
<h6
|
|
|
|
class="MuiTypography-root MuiTypography-subtitle1"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="MuiButtonBase-root MuiFab-root emotion-0 emotion-1 MuiFab-sizeSmall"
|
|
|
|
tabindex="0"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="MuiFab-label"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class="MuiSvgIcon-root"
|
|
|
|
focusable="false"
|
|
|
|
role="presentation"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="MuiTouchRipple-root"
|
|
|
|
/>
|
|
|
|
</button>
|
|
|
|
</h6>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
class=""
|
|
|
|
href="https://github.com/verdaccio/monorepo/issues"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
title="Open an issue"
|
|
|
|
>
|
|
|
|
<h6
|
|
|
|
class="MuiTypography-root MuiTypography-subtitle1"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="MuiButtonBase-root MuiFab-root emotion-0 emotion-1 MuiFab-sizeSmall"
|
|
|
|
tabindex="0"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="MuiFab-label"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class="MuiSvgIcon-root"
|
|
|
|
focusable="false"
|
|
|
|
role="presentation"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="MuiTouchRipple-root"
|
|
|
|
/>
|
|
|
|
</button>
|
|
|
|
</h6>
|
|
|
|
</a>
|
|
|
|
<button
|
|
|
|
class="MuiButtonBase-root MuiFab-root emotion-0 emotion-1 MuiFab-sizeSmall"
|
|
|
|
data-testid="download-tarball-btn"
|
|
|
|
tabindex="0"
|
|
|
|
title="Download tarball"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="MuiFab-label"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class="MuiSvgIcon-root"
|
|
|
|
focusable="false"
|
|
|
|
role="presentation"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="MuiTouchRipple-root"
|
|
|
|
/>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|
2019-10-26 17:02:03 +07:00
|
|
|
|
2019-12-03 15:44:44 +07:00
|
|
|
exports[`<ActionBar /> component when there is no action bar data 1`] = `
|
|
|
|
<div
|
2019-12-03 20:24:10 +07:00
|
|
|
class="MuiBox-root MuiBox-root-77"
|
2019-12-03 15:44:44 +07:00
|
|
|
/>
|
|
|
|
`;
|