blob: 6968fb3e15397c62abcd8adee62bfbb62d046355 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
// 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>
`;
|