« get me outta code hell

linkContribution.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/linkContribution.js.test.cjs
blob: cecad538ff0d054c50317c9a051e5c39e234e51d (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
/* 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/linkContribution.js TAP linkContribution (snapshot) > no accents 1`] = `
<a href="artist/clark-powell/">Clark Powell</a>
<a href="artist/the-big-baddies/">Grounder & Scratch</a>
<a href="artist/toby-fox/">Toby Fox</a>
`

exports[`test/snapshot/linkContribution.js TAP linkContribution (snapshot) > only showContribution 1`] = `
<a href="artist/clark-powell/">Clark Powell</a>
<a href="artist/the-big-baddies/">Grounder & Scratch</a> (Snooping)
<a href="artist/toby-fox/">Toby Fox</a> (Arrangement)
`

exports[`test/snapshot/linkContribution.js TAP linkContribution (snapshot) > only showIcons 1`] = `
<a href="artist/clark-powell/">Clark Powell</a> (<span class="icons"><a href="https://soundcloud.com/plazmataz" class="icon">
        <svg>
            <title>SoundCloud</title>
            <use href="static/icons.svg#icon-soundcloud"></use>
        </svg>
    </a></span>)
<a href="artist/the-big-baddies/">Grounder & Scratch</a>
<a href="artist/toby-fox/">Toby Fox</a> (<span class="icons"><a href="https://tobyfox.bandcamp.com/" class="icon">
        <svg>
            <title>Bandcamp</title>
            <use href="static/icons.svg#icon-bandcamp"></use>
        </svg>
    </a>, <a href="https://toby.fox/" class="icon">
        <svg>
            <title>External (toby.fox)</title>
            <use href="static/icons.svg#icon-globe"></use>
        </svg>
    </a></span>)
`

exports[`test/snapshot/linkContribution.js TAP linkContribution (snapshot) > showContribution & showIcons 1`] = `
<a href="artist/clark-powell/">Clark Powell</a> (<span class="icons"><a href="https://soundcloud.com/plazmataz" class="icon">
        <svg>
            <title>SoundCloud</title>
            <use href="static/icons.svg#icon-soundcloud"></use>
        </svg>
    </a></span>)
<a href="artist/the-big-baddies/">Grounder & Scratch</a> (Snooping)
<a href="artist/toby-fox/">Toby Fox</a> (Arrangement) (<span class="icons"><a href="https://tobyfox.bandcamp.com/" class="icon">
        <svg>
            <title>Bandcamp</title>
            <use href="static/icons.svg#icon-bandcamp"></use>
        </svg>
    </a>, <a href="https://toby.fox/" class="icon">
        <svg>
            <title>External (toby.fox)</title>
            <use href="static/icons.svg#icon-globe"></use>
        </svg>
    </a></span>)
`