« get me outta code hell

generateAlbumSecondaryNav.js.test.cjs « snapshot « test « tap-snapshots - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs
blob: de35048ccb8af75d8bb56970fc4211c8f80654ca (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
/* 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/generateAlbumSecondaryNav.js > TAP > generateAlbumSecondaryNav (snapshot) > basic behavior, mode: album 1`] = `
<nav id="secondary-nav" class="nav-links-groups">
    <span class="nav-link" style="--primary-color: #abcdef">
        <a href="group/vcg/">VCG</a>
        (<a title="First" href="album/first/">Previous</a>, <a title="Last" href="album/last/">Next</a>)
    </span>
    <span class="nav-link" style="--primary-color: #123456">
        <a href="group/bepis/">Bepis</a>
        (<a title="Second" href="album/second/">Next</a>)
    </span>
</nav>
`

exports[`test/snapshot/generateAlbumSecondaryNav.js > TAP > generateAlbumSecondaryNav (snapshot) > basic behavior, mode: track 1`] = `
<nav id="secondary-nav" class="nav-links-groups">
    <span class="nav-link" style="--primary-color: #abcdef"><a href="group/vcg/">VCG</a></span>
    <span class="nav-link" style="--primary-color: #123456"><a href="group/bepis/">Bepis</a></span>
</nav>
`

exports[`test/snapshot/generateAlbumSecondaryNav.js > TAP > generateAlbumSecondaryNav (snapshot) > dateless album in mixed group 1`] = `
<nav id="secondary-nav" class="nav-links-groups">
    <span class="nav-link" style="--primary-color: #abcdef"><a href="group/vcg/">VCG</a></span>
    <span class="nav-link" style="--primary-color: #123456"><a href="group/bepis/">Bepis</a></span>
</nav>
`