« get me outta code hell

linkExternal.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/linkExternal.js.test.cjs
blob: 754bed1209e5c6f6b957917a6a4816198eab137f (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
119
120
/* 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/linkExternal.js > TAP > linkExternal (snapshot) > context: album, style: handle 1`] = `
<a href="https://youtu.be/abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/watch?v=abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/Playlist?list=kweh" class="nowrap">YouTube</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: album, style: platform 1`] = `
<a href="https://youtu.be/abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/watch?v=abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/Playlist?list=kweh" class="nowrap">YouTube</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumMultipleTracks, style: handle 1`] = `
<a href="https://youtu.be/abc" class="nowrap">YouTube (full album)</a>
<a href="https://youtube.com/watch?v=abc" class="nowrap">YouTube (full album)</a>
<a href="https://youtube.com/Playlist?list=kweh" class="nowrap">YouTube</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumMultipleTracks, style: platform 1`] = `
<a href="https://youtu.be/abc" class="nowrap">YouTube (full album)</a>
<a href="https://youtube.com/watch?v=abc" class="nowrap">YouTube (full album)</a>
<a href="https://youtube.com/Playlist?list=kweh" class="nowrap">YouTube</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumNoTracks, style: handle 1`] = `
<a href="https://youtu.be/abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/watch?v=abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/Playlist?list=kweh" class="nowrap">YouTube</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumNoTracks, style: platform 1`] = `
<a href="https://youtu.be/abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/watch?v=abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/Playlist?list=kweh" class="nowrap">YouTube</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumOneTrack, style: handle 1`] = `
<a href="https://youtu.be/abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/watch?v=abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/Playlist?list=kweh" class="nowrap">YouTube</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumOneTrack, style: platform 1`] = `
<a href="https://youtu.be/abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/watch?v=abc" class="nowrap">YouTube</a>
<a href="https://youtube.com/Playlist?list=kweh" class="nowrap">YouTube</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: flash, style: handle 1`] = `
<a href="https://www.bgreco.net/hsflash/002238.html" class="nowrap">bgreco.net (high quality audio)</a>
<a href="https://homestuck.com/story/1234" class="nowrap">Homestuck (page 1234)</a>
<a href="https://homestuck.com/story/pony" class="nowrap">Homestuck (secret page)</a>
<a href="https://www.youtube.com/watch?v=wKgOp3Kg2wI" class="nowrap">YouTube (on any device)</a>
<a href="https://youtu.be/IOcvkkklWmY" class="nowrap">YouTube (on any device)</a>
<a href="https://some.external.site/foo/bar/" class="nowrap">some.external.site</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: flash, style: platform 1`] = `
<a href="https://www.bgreco.net/hsflash/002238.html" class="nowrap">bgreco.net (high quality audio)</a>
<a href="https://homestuck.com/story/1234" class="nowrap">Homestuck (page 1234)</a>
<a href="https://homestuck.com/story/pony" class="nowrap">Homestuck (secret page)</a>
<a href="https://www.youtube.com/watch?v=wKgOp3Kg2wI" class="nowrap">YouTube (on any device)</a>
<a href="https://youtu.be/IOcvkkklWmY" class="nowrap">YouTube (on any device)</a>
<a href="https://some.external.site/foo/bar/" class="nowrap">some.external.site</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: generic, style: handle 1`] = `
<a href="https://homestuck.bandcamp.com/" class="nowrap">homestuck</a>
<a href="https://soundcloud.com/plazmataz" class="nowrap">plazmataz</a>
<a href="https://aeritus.tumblr.com/" class="nowrap">aeritus</a>
<a href="https://twitter.com/awkwarddoesart" class="nowrap">awkwarddoesart</a>
<a href="https://www.deviantart.com/chesswanderlust-sama" class="nowrap">DeviantArt</a>
<a href="https://en.wikipedia.org/wiki/Haydn_Quartet_(vocal_ensemble)" class="nowrap">Wikipedia</a>
<a href="https://www.poetryfoundation.org/poets/christina-rossetti" class="nowrap">Poetry Foundation</a>
<a href="https://www.instagram.com/levc_egm/" class="nowrap">Instagram</a>
<a href="https://www.patreon.com/CecilyRenns" class="nowrap">Patreon</a>
<a href="https://open.spotify.com/artist/63SNNpNOicDzG3LY82G4q3" class="nowrap">Spotify</a>
<a href="https://buzinkai.newgrounds.com/" class="nowrap">buzinkai</a>
<a href="https://music.solatrus.com/" class="nowrap">music.solatrus.com</a>
<a href="https://types.pl/" class="nowrap">types.pl</a>
<a href="https://community.fandom.com/" class="nowrap">Fandom</a>
<a href="https://community.fandom.com/wiki/" class="nowrap">Fandom</a>
<a href="https://community.fandom.com/wiki/Community_Central" class="nowrap">Fandom</a>
<a href="https://mspaintadventures.fandom.com/" class="nowrap">MSPA Wiki</a>
<a href="https://mspaintadventures.fandom.com/wiki/" class="nowrap">MSPA Wiki</a>
<a href="https://mspaintadventures.fandom.com/wiki/Draconian_Dignitary" class="nowrap">MSPA Wiki (Draconian Dignitary)</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: generic, style: platform 1`] = `
<a href="https://homestuck.bandcamp.com/" class="nowrap">Bandcamp</a>
<a href="https://soundcloud.com/plazmataz" class="nowrap">SoundCloud</a>
<a href="https://aeritus.tumblr.com/" class="nowrap">Tumblr</a>
<a href="https://twitter.com/awkwarddoesart" class="nowrap">Twitter</a>
<a href="https://www.deviantart.com/chesswanderlust-sama" class="nowrap">DeviantArt</a>
<a href="https://en.wikipedia.org/wiki/Haydn_Quartet_(vocal_ensemble)" class="nowrap">Wikipedia</a>
<a href="https://www.poetryfoundation.org/poets/christina-rossetti" class="nowrap">Poetry Foundation</a>
<a href="https://www.instagram.com/levc_egm/" class="nowrap">Instagram</a>
<a href="https://www.patreon.com/CecilyRenns" class="nowrap">Patreon</a>
<a href="https://open.spotify.com/artist/63SNNpNOicDzG3LY82G4q3" class="nowrap">Spotify</a>
<a href="https://buzinkai.newgrounds.com/" class="nowrap">Newgrounds</a>
<a href="https://music.solatrus.com/" class="nowrap">Bandcamp (music.solatrus.com)</a>
<a href="https://types.pl/" class="nowrap">Mastodon (types.pl)</a>
<a href="https://community.fandom.com/" class="nowrap">Fandom</a>
<a href="https://community.fandom.com/wiki/" class="nowrap">Fandom</a>
<a href="https://community.fandom.com/wiki/Community_Central" class="nowrap">Fandom</a>
<a href="https://mspaintadventures.fandom.com/" class="nowrap">MSPA Wiki</a>
<a href="https://mspaintadventures.fandom.com/wiki/" class="nowrap">MSPA Wiki</a>
<a href="https://mspaintadventures.fandom.com/wiki/Draconian_Dignitary" class="nowrap">MSPA Wiki (Draconian Dignitary)</a>
`

exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > unknown domain (arbitrary world wide web path) 1`] = `
<a href="https://snoo.ping.as/usual/i/see/" class="nowrap">snoo.ping.as</a>
`