From 21b6f42b31c39bfc3ee20788d7d055d7afdb5c21 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 4 Apr 2023 13:32:41 -0300 Subject: test: linkExternal (snapshot) --- .../test/snapshot/linkExternal.js.test.cjs | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tap-snapshots/test/snapshot/linkExternal.js.test.cjs (limited to 'tap-snapshots') diff --git a/tap-snapshots/test/snapshot/linkExternal.js.test.cjs b/tap-snapshots/test/snapshot/linkExternal.js.test.cjs new file mode 100644 index 00000000..e4376810 --- /dev/null +++ b/tap-snapshots/test/snapshot/linkExternal.js.test.cjs @@ -0,0 +1,43 @@ +/* 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`] = ` +Bandcamp +SoundCloud +Tumblr +Twitter +DeviantArt +Wikipedia +Poetry Foundation +Instagram +Patreon +Spotify +Newgrounds +` + +exports[`test/snapshot/linkExternal.js TAP linkExternal (snapshot) > custom domains for common platforms 1`] = ` +music.solatrus.com +Mastodon (types.pl) +` + +exports[`test/snapshot/linkExternal.js TAP linkExternal (snapshot) > custom matches - type: album 1`] = ` +YouTube (full album) +YouTube (full album) +YouTube (playlist) +YouTube +YouTube +YouTube +YouTube +` + +exports[`test/snapshot/linkExternal.js TAP linkExternal (snapshot) > missing domain (arbitrary local path) 1`] = ` +Wiki Archive (local upload) +` + +exports[`test/snapshot/linkExternal.js TAP linkExternal (snapshot) > unknown domain (arbitrary world wide web path) 1`] = ` +snoo.ping.as +` -- cgit 1.3.0-6-gf8a5