From 5920fa888dd50ce577c1f9d8864b23231f84a34b Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 6 Feb 2024 22:04:13 -0400 Subject: test: generateAlbumTrackList: collapseDurationScope snapshots --- .../snapshot/generateAlbumTrackList.js.test.cjs | 112 +++++++++++++++++++-- 1 file changed, 106 insertions(+), 6 deletions(-) (limited to 'tap-snapshots/test') diff --git a/tap-snapshots/test/snapshot/generateAlbumTrackList.js.test.cjs b/tap-snapshots/test/snapshot/generateAlbumTrackList.js.test.cjs index 46ea3b91..3b6676f8 100644 --- a/tap-snapshots/test/snapshot/generateAlbumTrackList.js.test.cjs +++ b/tap-snapshots/test/snapshot/generateAlbumTrackList.js.test.cjs @@ -8,23 +8,123 @@ exports[`test/snapshot/generateAlbumTrackList.js > TAP > generateAlbumTrackList (snapshot) > basic behavior, default track section 1`] = ` ` exports[`test/snapshot/generateAlbumTrackList.js > TAP > generateAlbumTrackList (snapshot) > basic behavior, with track sections 1`] = `
-
First section: (~1:30)
+
First section: (~1:00)
-
Second section: (0:05)
-
+
Second section:
+
` + +exports[`test/snapshot/generateAlbumTrackList.js > TAP > generateAlbumTrackList (snapshot) > collapseDurationScope: album 1`] = ` +
+
First section: (~1:00)
+
+
    +
  • (0:20) Track 1
  • +
  • [mocked: generateAlbumTrackListMissingDuration - slots: {}] Track 2
  • +
  • (0:40) Track 3
  • +
+
+
Second section:
+
+
+ + +` + +exports[`test/snapshot/generateAlbumTrackList.js > TAP > generateAlbumTrackList (snapshot) > collapseDurationScope: never 1`] = ` +
+
First section: (~1:00)
+
+
    +
  • (0:20) Track 1
  • +
  • [mocked: generateAlbumTrackListMissingDuration - slots: {}] Track 2
  • +
  • (0:40) Track 3
  • +
+
+
Second section:
+
+
+ + +` + +exports[`test/snapshot/generateAlbumTrackList.js > TAP > generateAlbumTrackList (snapshot) > collapseDurationScope: section 1`] = ` +
+
First section: (~1:00)
+
+
    +
  • (0:20) Track 1
  • +
  • [mocked: generateAlbumTrackListMissingDuration - slots: {}] Track 2
  • +
  • (0:40) Track 3
  • +
+
+
Second section:
+
+
+ + +` + +exports[`test/snapshot/generateAlbumTrackList.js > TAP > generateAlbumTrackList (snapshot) > collapseDurationScope: track 1`] = ` +
+
First section: (~1:00)
+
+ +
+
Second section:
+
+
+ + +` -- cgit 1.3.0-6-gf8a5