diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-06-15 17:22:04 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-06-15 17:22:12 -0300 |
commit | fc5c3f4e66660018e835ab0f3b664ef0d6abe2ef (patch) | |
tree | f076cdb5b3c16c255efd9481afdd41cba51c7a1c /tap-snapshots | |
parent | 470536c0ead771976e6b8771930eabb8030081c4 (diff) |
test: generateAlbumSecondaryNav (snapshot)
Diffstat (limited to 'tap-snapshots')
-rw-r--r-- | tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs b/tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs new file mode 100644 index 00000000..f84827ae --- /dev/null +++ b/tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs @@ -0,0 +1,33 @@ +/* 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/generateAlbumSecondaryNav.js TAP generateAlbumSecondaryNav (snapshot) > basic behavior, mode: album 1`] = ` +<nav id="secondary-nav" class="nav-links-groups"> + <span> + <a href="group/vcg/">VCG</a> + (<a href="album/first/">Previous</a>, <a href="album/last/">Next</a>) + </span> + <span> + <a href="group/bepis/">Bepis</a> + (<a href="album/second/">Next</a>) + </span> +</nav> +` + +exports[`test/snapshot/generateAlbumSecondaryNav.js TAP generateAlbumSecondaryNav (snapshot) > basic behavior, mode: track 1`] = ` +<nav id="secondary-nav" class="nav-links-groups"> + <a href="group/vcg/">VCG</a> + <a href="group/bepis/">Bepis</a> +</nav> +` + +exports[`test/snapshot/generateAlbumSecondaryNav.js TAP generateAlbumSecondaryNav (snapshot) > dateless album in mixed group 1`] = ` +<nav id="secondary-nav" class="nav-links-groups"> + <a href="group/vcg/">VCG</a> + <a href="group/bepis/">Bepis</a> +</nav> +` |