blob: 5a3ef738fd4a2cb900ebc10ccd755fc642e4c690 (
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
|
/* 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) > basic domain matches 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>
`
exports[`test/snapshot/linkExternal.js TAP linkExternal (snapshot) > custom domains for common platforms 1`] = `
<a href="https://music.solatrus.com/" class="nowrap">music.solatrus.com</a>
<a href="https://types.pl/" class="nowrap">Mastodon (types.pl)</a>
`
exports[`test/snapshot/linkExternal.js TAP linkExternal (snapshot) > custom matches - type: album 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 (playlist)</a>
`
exports[`test/snapshot/linkExternal.js TAP linkExternal (snapshot) > missing domain (arbitrary local path) 1`] = `
<a href="/foo/bar/baz.mp3" class="nowrap">Wiki Archive (local upload)</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>
`
|