From 40d6c1c3bd8c454479cdb283086b4bfc339688fe Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Mar 2024 19:08:33 -0300 Subject: external-links, test: update linkExternal snapshot tests --- .../test/snapshot/linkExternal.js.test.cjs | 105 +++++---------------- 1 file changed, 25 insertions(+), 80 deletions(-) (limited to 'tap-snapshots/test') diff --git a/tap-snapshots/test/snapshot/linkExternal.js.test.cjs b/tap-snapshots/test/snapshot/linkExternal.js.test.cjs index 1c1f35f4..754bed12 100644 --- a/tap-snapshots/test/snapshot/linkExternal.js.test.cjs +++ b/tap-snapshots/test/snapshot/linkExternal.js.test.cjs @@ -5,13 +5,7 @@ * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: album, style: compact 1`] = ` -youtu.be -youtube.com -youtube.com -` - -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: album, style: normal 1`] = ` +exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: album, style: handle 1`] = ` YouTube YouTube YouTube @@ -23,31 +17,19 @@ exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context YouTube ` -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumMultipleTracks, style: compact 1`] = ` -youtu.be -youtube.com -youtube.com -` - -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumMultipleTracks, style: normal 1`] = ` +exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumMultipleTracks, style: handle 1`] = ` YouTube (full album) YouTube (full album) YouTube ` exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumMultipleTracks, style: platform 1`] = ` -YouTube -YouTube +YouTube (full album) +YouTube (full album) YouTube ` -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumNoTracks, style: compact 1`] = ` -youtu.be -youtube.com -youtube.com -` - -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumNoTracks, style: normal 1`] = ` +exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumNoTracks, style: handle 1`] = ` YouTube YouTube YouTube @@ -59,13 +41,7 @@ exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context YouTube ` -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumOneTrack, style: compact 1`] = ` -youtu.be -youtube.com -youtube.com -` - -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumOneTrack, style: normal 1`] = ` +exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: albumOneTrack, style: handle 1`] = ` YouTube YouTube YouTube @@ -77,69 +53,38 @@ exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context YouTube ` -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: flash, style: compact 1`] = ` -bgreco.net -homestuck.com -homestuck.com -youtube.com -youtu.be -some.external.site -` - -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: flash, style: normal 1`] = ` +exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: flash, style: handle 1`] = ` bgreco.net (high quality audio) Homestuck (page 1234) Homestuck (secret page) YouTube (on any device) YouTube (on any device) -External (some.external.site) +some.external.site ` exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: flash, style: platform 1`] = ` -bgreco.net -Homestuck -Homestuck -YouTube -YouTube -External +bgreco.net (high quality audio) +Homestuck (page 1234) +Homestuck (secret page) +YouTube (on any device) +YouTube (on any device) +some.external.site ` -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: generic, style: compact 1`] = ` +exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: generic, style: handle 1`] = ` homestuck plazmataz aeritus -@awkwarddoesart -deviantart.com -en.wikipedia.org -poetryfoundation.org -instagram.com -patreon.com -open.spotify.com -buzinkai.newgrounds.com -music.solatrus.com -types.pl -community.fandom.com -community.fandom.com -community.fandom.com -mspaintadventures.fandom.com -mspaintadventures.fandom.com -mspaintadventures.fandom.com -` - -exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context: generic, style: normal 1`] = ` -Bandcamp -SoundCloud -Tumblr -Twitter +awkwarddoesart DeviantArt Wikipedia Poetry Foundation Instagram Patreon Spotify -Newgrounds -Bandcamp (music.solatrus.com) -Mastodon (types.pl) +buzinkai +music.solatrus.com +types.pl Fandom Fandom Fandom @@ -160,16 +105,16 @@ exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > context Patreon Spotify Newgrounds -Bandcamp -Mastodon +Bandcamp (music.solatrus.com) +Mastodon (types.pl) Fandom Fandom Fandom -Fandom -Fandom -Fandom +MSPA Wiki +MSPA Wiki +MSPA Wiki (Draconian Dignitary) ` exports[`test/snapshot/linkExternal.js > TAP > linkExternal (snapshot) > unknown domain (arbitrary world wide web path) 1`] = ` -External (snoo.ping.as) +snoo.ping.as ` -- cgit 1.3.0-6-gf8a5