« get me outta code hell

test: generateAlbumTrackList: snapshot dependencies too - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/tap-snapshots
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-24 18:14:25 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-24 18:14:25 -0300
commit004ff284cb54be664fd57337e3ab0a6ca8c607b3 (patch)
tree90fa1e71e0fd3719c425d2d9756e98a360966fad /tap-snapshots
parent13552d0c672984611cf4c64641b8fec971128b4a (diff)
test: generateAlbumTrackList: snapshot dependencies too
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test/snapshot/generateAlbumTrackList.js.test.cjs16
1 files changed, 8 insertions, 8 deletions
diff --git a/tap-snapshots/test/snapshot/generateAlbumTrackList.js.test.cjs b/tap-snapshots/test/snapshot/generateAlbumTrackList.js.test.cjs
index 14316988..c1248814 100644
--- a/tap-snapshots/test/snapshot/generateAlbumTrackList.js.test.cjs
+++ b/tap-snapshots/test/snapshot/generateAlbumTrackList.js.test.cjs
@@ -7,10 +7,10 @@
 'use strict'
 exports[`test/snapshot/generateAlbumTrackList.js TAP generateAlbumTrackList (snapshot) > basic behavior, default track section 1`] = `
 <ul>
-    <li>Item: Track 1</li>
-    <li>Item: Track 2</li>
-    <li>Item: Track 3</li>
-    <li>Item: Track 4</li>
+    <li>(0:20) <a href="track/t1/">Track 1</a></li>
+    <li>(0:30) <a href="track/t2/">Track 2</a></li>
+    <li>(0:40) <a href="track/t3/">Track 3</a></li>
+    <li>(0:05) <a href="track/t4/">Track 4</a> <span class="by">by <a href="artist/apricot/">Apricot</a> and <a href="artist/peach/">Peach</a></span></li>
 </ul>
 `
 
@@ -19,12 +19,12 @@ exports[`test/snapshot/generateAlbumTrackList.js TAP generateAlbumTrackList (sna
     <dt class="content-heading" tabindex="0">First section (~1:30):</dt>
     <dd>
         <ul>
-            <li>Item: Track 1</li>
-            <li>Item: Track 2</li>
-            <li>Item: Track 3</li>
+            <li>(0:20) <a href="track/t1/">Track 1</a></li>
+            <li>(0:30) <a href="track/t2/">Track 2</a></li>
+            <li>(0:40) <a href="track/t3/">Track 3</a></li>
         </ul>
     </dd>
     <dt class="content-heading" tabindex="0">Second section (0:05):</dt>
-    <dd><ul><li>Item: Track 4</li></ul></dd>
+    <dd><ul><li>(0:05) <a href="track/t4/">Track 4</a> <span class="by">by <a href="artist/apricot/">Apricot</a> and <a href="artist/peach/">Peach</a></span></li></ul></dd>
 </dl>
 `