blob: d8f1e9747eeb5cbfdd9638a67058e54b4af016ca (
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
|
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/snapshot/generateAlbumAdditionalFilesList.js > TAP > generateAlbumAdditionalFilesList (snapshot) > basic behavior 1`] = `
<ul class="additional-files-list">
<li>
<details>
<summary><span><span class="group-name">SBURB Wallpaper</span></span></summary>
<ul>
<li><a href="media/album-additional/exciting-album/sburbwp_1280x1024.jpg">sburbwp_1280x1024.jpg</a></li>
<li><a href="media/album-additional/exciting-album/sburbwp_1440x900.jpg">sburbwp_1440x900.jpg</a></li>
<li><a href="media/album-additional/exciting-album/sburbwp_1920x1080.jpg">sburbwp_1920x1080.jpg</a></li>
</ul>
</details>
</li>
<li>
<details>
<summary><span><span class="group-name">Fake Section</span></span></summary>
<ul>
<li class="entry-description">No sizes for these files</li>
<li><a href="media/album-additional/exciting-album/oops.mp3">oops.mp3</a></li>
<li><a href="media/album-additional/exciting-album/Internet%20Explorer.gif">Internet Explorer.gif</a></li>
<li><a href="media/album-additional/exciting-album/daisy.mp3">daisy.mp3</a></li>
</ul>
</details>
</li>
<li>
<details open>
<summary><span><span class="group-name">Empty Section</span></span></summary>
<ul>
<li class="entry-description">These files haven't been made available.</li>
<li>There are no files available or listed for this entry.</li>
</ul>
</details>
</li>
<li>
<details>
<summary><span><span class="group-name">Alternate Covers</span></span></summary>
<ul>
<li class="entry-description">This is just an example description.</li>
<li><a href="media/album-additional/exciting-album/Homestuck_Vol4_alt1.jpg">Homestuck_Vol4_alt1.jpg</a></li>
<li><a href="media/album-additional/exciting-album/Homestuck_Vol4_alt2.jpg">Homestuck_Vol4_alt2.jpg</a></li>
<li><a href="media/album-additional/exciting-album/Homestuck_Vol4_alt3.jpg">Homestuck_Vol4_alt3.jpg</a></li>
</ul>
</details>
</li>
</ul>
`
exports[`test/snapshot/generateAlbumAdditionalFilesList.js > TAP > generateAlbumAdditionalFilesList (snapshot) > no additional files 1`] = `
<ul class="additional-files-list"></ul>
`
|