From 5111e6be757ca89d27876ddb68de4b916b23bfe1 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 13 Jun 2023 18:36:53 -0300 Subject: test: generateAlbumReleaseInfo (snapshot) --- .../snapshot/generateAlbumReleaseInfo.js.test.cjs | 42 ++++++++++++++++++++++ .../snapshot/generateTrackReleaseInfo.js.test.cjs | 8 ++--- 2 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 tap-snapshots/test/snapshot/generateAlbumReleaseInfo.js.test.cjs (limited to 'tap-snapshots/test') diff --git a/tap-snapshots/test/snapshot/generateAlbumReleaseInfo.js.test.cjs b/tap-snapshots/test/snapshot/generateAlbumReleaseInfo.js.test.cjs new file mode 100644 index 00000000..769018a9 --- /dev/null +++ b/tap-snapshots/test/snapshot/generateAlbumReleaseInfo.js.test.cjs @@ -0,0 +1,42 @@ +/* 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/generateAlbumReleaseInfo.js TAP generateAlbumReleaseInfo (snapshot) > URLs only 1`] = ` +

Listen on Bandcamp or SoundCloud.

+` + +exports[`test/snapshot/generateAlbumReleaseInfo.js TAP generateAlbumReleaseInfo (snapshot) > basic behavior 1`] = ` +

+ By Toby Fox (music probably) and Tensei (hot jams) ( + + Bandcamp + + + ). +
+ Cover art by Hanni Brosh. +
+ Wallpaper art by Hanni Brosh and Niklink (edits). +
+ Banner art by Hanni Brosh and Niklink (edits). +
+ Released 3/14/2011. +
+ Art released 4/1/1991. +
+ Duration: ~10:25. +

+

Listen on Bandcamp, YouTube (playlist), or YouTube (full album).

+` + +exports[`test/snapshot/generateAlbumReleaseInfo.js TAP generateAlbumReleaseInfo (snapshot) > equal cover art date 1`] = ` +

Released 4/12/2020.

+` + +exports[`test/snapshot/generateAlbumReleaseInfo.js TAP generateAlbumReleaseInfo (snapshot) > reduced details 1`] = ` + +` diff --git a/tap-snapshots/test/snapshot/generateTrackReleaseInfo.js.test.cjs b/tap-snapshots/test/snapshot/generateTrackReleaseInfo.js.test.cjs index b72680ae..a5f9e971 100644 --- a/tap-snapshots/test/snapshot/generateTrackReleaseInfo.js.test.cjs +++ b/tap-snapshots/test/snapshot/generateTrackReleaseInfo.js.test.cjs @@ -5,7 +5,7 @@ * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' -exports[`test/snapshot/generateTrackReleaseInfo.js TAP linkArtist (snapshot) > basic behavior 1`] = ` +exports[`test/snapshot/generateTrackReleaseInfo.js TAP generateTrackReleaseInfo (snapshot) > basic behavior 1`] = `

By Toby Fox.
@@ -16,12 +16,12 @@ exports[`test/snapshot/generateTrackReleaseInfo.js TAP linkArtist (snapshot) > b

Listen on SoundCloud or YouTube.

` -exports[`test/snapshot/generateTrackReleaseInfo.js TAP linkArtist (snapshot) > cover artist contribs, non-unique 1`] = ` +exports[`test/snapshot/generateTrackReleaseInfo.js TAP generateTrackReleaseInfo (snapshot) > cover artist contribs, non-unique 1`] = `

By Toby Fox.

This wiki doesn't have any listening links for Suspicious Track.

` -exports[`test/snapshot/generateTrackReleaseInfo.js TAP linkArtist (snapshot) > cover artist contribs, unique 1`] = ` +exports[`test/snapshot/generateTrackReleaseInfo.js TAP generateTrackReleaseInfo (snapshot) > cover artist contribs, unique 1`] = `

By Toby Fox.
@@ -30,7 +30,7 @@ exports[`test/snapshot/generateTrackReleaseInfo.js TAP linkArtist (snapshot) > c

This wiki doesn't have any listening links for Suspicious Track.

` -exports[`test/snapshot/generateTrackReleaseInfo.js TAP linkArtist (snapshot) > reduced details 1`] = ` +exports[`test/snapshot/generateTrackReleaseInfo.js TAP generateTrackReleaseInfo (snapshot) > reduced details 1`] = `

By Toby Fox.

This wiki doesn't have any listening links for Suspicious Track.

` -- cgit 1.3.0-6-gf8a5