« 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: c1631d2b3ce05a452a576f7479f332e11766e4c7 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/* 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) > loads of links 1`] = `
<span class="contribution nowrap"><span class="text-with-tooltip"><span class="hoverable"><a class="text-with-tooltip-interaction-cue" href="artist/lorem-ipsum-lover/">Lorem Ipsum Lover</a></span><span class="tooltip icons icons-tooltip"><span class="tooltip-content"><a class="icon has-text" href="https://loremipsum.io">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">loremipsum.io</span>
                </a>
                <span class="icon-platform">Other</span>
                <a class="icon has-text" href="https://loremipsum.io/generator/">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">loremipsum.io</span>
                </a>
                <span class="icon-platform">Other</span>
                <a class="icon has-text" href="https://loremipsum.io/#meaning">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">loremipsum.io</span>
                </a>
                <span class="icon-platform">Other</span>
                <a class="icon has-text" href="https://loremipsum.io/#usage-and-examples">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">loremipsum.io</span>
                </a>
                <span class="icon-platform">Other</span>
                <a class="icon has-text" href="https://loremipsum.io/#controversy">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">loremipsum.io</span>
                </a>
                <span class="icon-platform">Other</span>
                <a class="icon has-text" href="https://loremipsum.io/#when-to-use-lorem-ipsum">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">loremipsum.io</span>
                </a>
                <span class="icon-platform">Other</span>
                <a class="icon has-text" href="https://loremipsum.io/#lorem-ipsum-all-the-things">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">loremipsum.io</span>
                </a>
                <span class="icon-platform">Other</span>
                <a class="icon has-text" href="https://loremipsum.io/#original-source">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">loremipsum.io</span>
                </a>
                <span class="icon-platform">Other</span></span></span></span></span>
`

exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > no accents 1`] = `
<span class="contribution nowrap"><a class="text-with-tooltip-interaction-cue" href="artist/clark-powell/">Clark Powell</a></span>
<span class="contribution nowrap"><a class="text-with-tooltip-interaction-cue" href="artist/the-big-baddies/">Grounder &amp; Scratch</a></span>
<span class="contribution nowrap"><a class="text-with-tooltip-interaction-cue" href="artist/toby-fox/">Toby Fox</a></span>
`

exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > no preventWrapping 1`] = `
<span class="contribution"><span class="text-with-tooltip"><span class="hoverable"><a class="text-with-tooltip-interaction-cue" href="artist/clark-powell/">Clark Powell</a></span><span class="tooltip icons icons-tooltip"><span class="tooltip-content"><a class="icon has-text" href="https://soundcloud.com/plazmataz">
                    <svg><use href="static/misc/icons.svg#icon-soundcloud"></use></svg>
                    <span class="icon-text">plazmataz</span>
                </a>
                <span class="icon-platform">SoundCloud</span></span></span></span></span>
<span class="contribution"><a class="text-with-tooltip-interaction-cue" href="artist/the-big-baddies/">Grounder &amp; Scratch</a> (Snooping)</span>
<span class="contribution"><span class="text-with-tooltip"><span class="hoverable"><a class="text-with-tooltip-interaction-cue" href="artist/toby-fox/">Toby Fox</a></span><span class="tooltip icons icons-tooltip"><span class="tooltip-content"><a class="icon has-text" href="https://tobyfox.bandcamp.com/">
                    <svg><use href="static/misc/icons.svg#icon-bandcamp"></use></svg>
                    <span class="icon-text">tobyfox</span>
                </a>
                <span class="icon-platform">Bandcamp</span>
                <a class="icon has-text" href="https://toby.fox/">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">toby.fox</span>
                </a>
                <span class="icon-platform">Other</span></span></span></span> (Arrangement)</span>
`

exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > only showContribution 1`] = `
<span class="contribution nowrap"><a class="text-with-tooltip-interaction-cue" href="artist/clark-powell/">Clark Powell</a></span>
<span class="contribution nowrap"><a class="text-with-tooltip-interaction-cue" href="artist/the-big-baddies/">Grounder &amp; Scratch</a> (Snooping)</span>
<span class="contribution nowrap"><a class="text-with-tooltip-interaction-cue" href="artist/toby-fox/">Toby Fox</a> (Arrangement)</span>
`

exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > only showExternalLinks 1`] = `
<span class="contribution nowrap"><span class="text-with-tooltip"><span class="hoverable"><a class="text-with-tooltip-interaction-cue" href="artist/clark-powell/">Clark Powell</a></span><span class="tooltip icons icons-tooltip"><span class="tooltip-content"><a class="icon has-text" href="https://soundcloud.com/plazmataz">
                    <svg><use href="static/misc/icons.svg#icon-soundcloud"></use></svg>
                    <span class="icon-text">plazmataz</span>
                </a>
                <span class="icon-platform">SoundCloud</span></span></span></span></span>
<span class="contribution nowrap"><a class="text-with-tooltip-interaction-cue" href="artist/the-big-baddies/">Grounder &amp; Scratch</a></span>
<span class="contribution nowrap"><span class="text-with-tooltip"><span class="hoverable"><a class="text-with-tooltip-interaction-cue" href="artist/toby-fox/">Toby Fox</a></span><span class="tooltip icons icons-tooltip"><span class="tooltip-content"><a class="icon has-text" href="https://tobyfox.bandcamp.com/">
                    <svg><use href="static/misc/icons.svg#icon-bandcamp"></use></svg>
                    <span class="icon-text">tobyfox</span>
                </a>
                <span class="icon-platform">Bandcamp</span>
                <a class="icon has-text" href="https://toby.fox/">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">toby.fox</span>
                </a>
                <span class="icon-platform">Other</span></span></span></span></span>
`

exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > showContribution & showExternalLinks 1`] = `
<span class="contribution nowrap"><span class="text-with-tooltip"><span class="hoverable"><a class="text-with-tooltip-interaction-cue" href="artist/clark-powell/">Clark Powell</a></span><span class="tooltip icons icons-tooltip"><span class="tooltip-content"><a class="icon has-text" href="https://soundcloud.com/plazmataz">
                    <svg><use href="static/misc/icons.svg#icon-soundcloud"></use></svg>
                    <span class="icon-text">plazmataz</span>
                </a>
                <span class="icon-platform">SoundCloud</span></span></span></span></span>
<span class="contribution nowrap"><a class="text-with-tooltip-interaction-cue" href="artist/the-big-baddies/">Grounder &amp; Scratch</a> (Snooping)</span>
<span class="contribution nowrap"><span class="text-with-tooltip"><span class="hoverable"><a class="text-with-tooltip-interaction-cue" href="artist/toby-fox/">Toby Fox</a></span><span class="tooltip icons icons-tooltip"><span class="tooltip-content"><a class="icon has-text" href="https://tobyfox.bandcamp.com/">
                    <svg><use href="static/misc/icons.svg#icon-bandcamp"></use></svg>
                    <span class="icon-text">tobyfox</span>
                </a>
                <span class="icon-platform">Bandcamp</span>
                <a class="icon has-text" href="https://toby.fox/">
                    <svg><use href="static/misc/icons.svg#icon-globe"></use></svg>
                    <span class="icon-text">toby.fox</span>
                </a>
                <span class="icon-platform">Other</span></span></span></span> (Arrangement)</span>
`