generateAlbumSecondaryNav.js.test.cjs 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. /* IMPORTANT
  2. * This snapshot file is auto-generated, but designed for humans.
  3. * It should be checked into source control and tracked carefully.
  4. * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
  5. * Make sure to inspect the output below. Do not ignore changes!
  6. */
  7. 'use strict'
  8. exports[`test/snapshot/generateAlbumSecondaryNav.js > TAP > generateAlbumSecondaryNav (snapshot) > basic behavior, mode: album 1`] = `
  9. <nav id="secondary-nav" class="nav-links-groups">
  10. <span class="nav-link" style="--primary-color: #abcdef">
  11. <a href="group/vcg/">VCG</a>
  12. (<a title="First" href="album/first/">Previous</a>, <a title="Last" href="album/last/">Next</a>)
  13. </span>
  14. <span class="nav-link" style="--primary-color: #123456">
  15. <a href="group/bepis/">Bepis</a>
  16. (<a title="Second" href="album/second/">Next</a>)
  17. </span>
  18. </nav>
  19. `
  20. exports[`test/snapshot/generateAlbumSecondaryNav.js > TAP > generateAlbumSecondaryNav (snapshot) > basic behavior, mode: track 1`] = `
  21. <nav id="secondary-nav" class="nav-links-groups">
  22. <span class="nav-link" style="--primary-color: #abcdef"><a href="group/vcg/">VCG</a></span>
  23. <span class="nav-link" style="--primary-color: #123456"><a href="group/bepis/">Bepis</a></span>
  24. </nav>
  25. `
  26. exports[`test/snapshot/generateAlbumSecondaryNav.js > TAP > generateAlbumSecondaryNav (snapshot) > dateless album in mixed group 1`] = `
  27. <nav id="secondary-nav" class="nav-links-groups">
  28. <span class="nav-link" style="--primary-color: #abcdef"><a href="group/vcg/">VCG</a></span>
  29. <span class="nav-link" style="--primary-color: #123456"><a href="group/bepis/">Bepis</a></span>
  30. </nav>
  31. `