debian-mirror-gitlab/spec/frontend/repository/components/__snapshots__/directory_download_links_spec.js.snap
2020-03-13 15:44:24 +05:30

76 lines
1.4 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Repository directory download links component renders downloads links for path app 1`] = `
<section
class="border-top pt-1 mt-1"
>
<h5
class="m-0 dropdown-bold-header"
>
Download this directory
</h5>
<div
class="dropdown-menu-content"
>
<div
class="btn-group ml-0 w-100"
>
<gl-link-stub
class="btn btn-xs btn-primary"
href="http://test.com/?path=app"
>
zip
</gl-link-stub>
<gl-link-stub
class="btn btn-xs"
href="http://test.com/?path=app"
>
tar
</gl-link-stub>
</div>
</div>
</section>
`;
exports[`Repository directory download links component renders downloads links for path app/assets 1`] = `
<section
class="border-top pt-1 mt-1"
>
<h5
class="m-0 dropdown-bold-header"
>
Download this directory
</h5>
<div
class="dropdown-menu-content"
>
<div
class="btn-group ml-0 w-100"
>
<gl-link-stub
class="btn btn-xs btn-primary"
href="http://test.com/?path=app/assets"
>
zip
</gl-link-stub>
<gl-link-stub
class="btn btn-xs"
href="http://test.com/?path=app/assets"
>
tar
</gl-link-stub>
</div>
</div>
</section>
`;