From 1ed6ddbfc682ff36ec85dfe42cdac159d6de0394 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 11 Sep 2023 10:13:23 -0300 Subject: test: snapshot test updates --- .../test/snapshot/generatePreviousNextLinks.js.test.cjs | 12 ++++++------ .../test/snapshot/generateTrackReleaseInfo.js.test.cjs | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tap-snapshots/test/snapshot/generatePreviousNextLinks.js.test.cjs b/tap-snapshots/test/snapshot/generatePreviousNextLinks.js.test.cjs index fa64183..8171725 100644 --- a/tap-snapshots/test/snapshot/generatePreviousNextLinks.js.test.cjs +++ b/tap-snapshots/test/snapshot/generatePreviousNextLinks.js.test.cjs @@ -6,13 +6,13 @@ */ 'use strict' exports[`test/snapshot/generatePreviousNextLinks.js TAP generatePreviousNextLinks (snapshot) > basic behavior 1`] = ` -previous: { tooltip: true, color: false, attributes: { id: 'previous-button' }, content: 'Previous' } -next: { tooltip: true, color: false, attributes: { id: 'next-button' }, content: 'Next' } +previous: { tooltip: true, color: false, attributes: { id: 'previous-button' }, content: Tag (no name, 1 items) } +next: { tooltip: true, color: false, attributes: { id: 'next-button' }, content: Tag (no name, 1 items) } ` exports[`test/snapshot/generatePreviousNextLinks.js TAP generatePreviousNextLinks (snapshot) > disable id 1`] = ` -previous: { tooltip: true, color: false, attributes: { id: false }, content: 'Previous' } -next: { tooltip: true, color: false, attributes: { id: false }, content: 'Next' } +previous: { tooltip: true, color: false, attributes: { id: false }, content: Tag (no name, 1 items) } +next: { tooltip: true, color: false, attributes: { id: false }, content: Tag (no name, 1 items) } ` exports[`test/snapshot/generatePreviousNextLinks.js TAP generatePreviousNextLinks (snapshot) > neither link present 1`] = ` @@ -20,9 +20,9 @@ exports[`test/snapshot/generatePreviousNextLinks.js TAP generatePreviousNextLink ` exports[`test/snapshot/generatePreviousNextLinks.js TAP generatePreviousNextLinks (snapshot) > next missing 1`] = ` -previous: { tooltip: true, color: false, attributes: { id: 'previous-button' }, content: 'Previous' } +previous: { tooltip: true, color: false, attributes: { id: 'previous-button' }, content: Tag (no name, 1 items) } ` exports[`test/snapshot/generatePreviousNextLinks.js TAP generatePreviousNextLinks (snapshot) > previous missing 1`] = ` -next: { tooltip: true, color: false, attributes: { id: 'next-button' }, content: 'Next' } +next: { tooltip: true, color: false, attributes: { id: 'next-button' }, content: Tag (no name, 1 items) } ` diff --git a/tap-snapshots/test/snapshot/generateTrackReleaseInfo.js.test.cjs b/tap-snapshots/test/snapshot/generateTrackReleaseInfo.js.test.cjs index e94ed82..bfd7446 100644 --- a/tap-snapshots/test/snapshot/generateTrackReleaseInfo.js.test.cjs +++ b/tap-snapshots/test/snapshot/generateTrackReleaseInfo.js.test.cjs @@ -18,19 +18,19 @@ exports[`test/snapshot/generateTrackReleaseInfo.js TAP generateTrackReleaseInfo 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.

+

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

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

By Toby Fox.
- Cover art by Alpaca (🔥). + Cover art by Alpaca (🔥).

-

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

+

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

` 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.

+

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

` -- cgit 1.3.0-6-gf8a5