diff options
-rw-r--r-- | tap-snapshots/test/snapshot/generateAlbumSidebarGroupBox.js.test.cjs | 26 | ||||
-rw-r--r-- | test/snapshot/generateAlbumSidebarGroupBox.js | 2 |
2 files changed, 18 insertions, 10 deletions
diff --git a/tap-snapshots/test/snapshot/generateAlbumSidebarGroupBox.js.test.cjs b/tap-snapshots/test/snapshot/generateAlbumSidebarGroupBox.js.test.cjs index cd820cde..0b7a0f77 100644 --- a/tap-snapshots/test/snapshot/generateAlbumSidebarGroupBox.js.test.cjs +++ b/tap-snapshots/test/snapshot/generateAlbumSidebarGroupBox.js.test.cjs @@ -6,20 +6,26 @@ */ 'use strict' exports[`test/snapshot/generateAlbumSidebarGroupBox.js > TAP > generateAlbumSidebarGroupBox (snapshot) > basic behavior, mode: album 1`] = ` -<h1><a href="group/vcg/">VCG</a></h1> -Very cool group. -<p>Visit on <a href="https://vcg.bandcamp.com/" class="nowrap">Bandcamp</a> or <a href="https://youtube.com/@vcg" class="nowrap">YouTube</a>.</p> -<p class="group-chronology-link">Next: <a href="album/last/">Last</a></p> -<p class="group-chronology-link">Previous: <a href="album/first/">First</a></p> +<div class="sidebar individual-group-sidebar-box"> + <h1><a href="group/vcg/">VCG</a></h1> + Very cool group. + <p>Visit on <a class="external-link" href="https://vcg.bandcamp.com/">Bandcamp</a> or <a class="external-link" href="https://youtube.com/@vcg">YouTube</a>.</p> + <p class="group-chronology-link">Next: <a href="album/last/">Last</a></p> + <p class="group-chronology-link">Previous: <a href="album/first/">First</a></p> +</div> ` exports[`test/snapshot/generateAlbumSidebarGroupBox.js > TAP > generateAlbumSidebarGroupBox (snapshot) > basic behavior, mode: track 1`] = ` -<h1><a href="group/vcg/">VCG</a></h1> -<p>Visit on <a href="https://vcg.bandcamp.com/" class="nowrap">Bandcamp</a> or <a href="https://youtube.com/@vcg" class="nowrap">YouTube</a>.</p> +<div class="sidebar individual-group-sidebar-box"> + <h1><a href="group/vcg/">VCG</a></h1> + <p>Visit on <a class="external-link" href="https://vcg.bandcamp.com/">Bandcamp</a> or <a class="external-link" href="https://youtube.com/@vcg">YouTube</a>.</p> +</div> ` exports[`test/snapshot/generateAlbumSidebarGroupBox.js > TAP > generateAlbumSidebarGroupBox (snapshot) > dateless album in mixed group 1`] = ` -<h1><a href="group/vcg/">VCG</a></h1> -Very cool group. -<p>Visit on <a href="https://vcg.bandcamp.com/" class="nowrap">Bandcamp</a> or <a href="https://youtube.com/@vcg" class="nowrap">YouTube</a>.</p> +<div class="sidebar individual-group-sidebar-box"> + <h1><a href="group/vcg/">VCG</a></h1> + Very cool group. + <p>Visit on <a class="external-link" href="https://vcg.bandcamp.com/">Bandcamp</a> or <a class="external-link" href="https://youtube.com/@vcg">YouTube</a>.</p> +</div> ` diff --git a/test/snapshot/generateAlbumSidebarGroupBox.js b/test/snapshot/generateAlbumSidebarGroupBox.js index 87850510..f920bd96 100644 --- a/test/snapshot/generateAlbumSidebarGroupBox.js +++ b/test/snapshot/generateAlbumSidebarGroupBox.js @@ -11,6 +11,8 @@ testContentFunctions(t, 'generateAlbumSidebarGroupBox (snapshot)', async (t, eva let album, group; album = { + name: 'Middle', + directory: 'middle', date: new Date('2010-04-13'), }; |