diff options
Diffstat (limited to 'tap-snapshots/test')
6 files changed, 33 insertions, 33 deletions
diff --git a/tap-snapshots/test/snapshot/generateAlbumBanner.js.test.cjs b/tap-snapshots/test/snapshot/generateAlbumBanner.js.test.cjs index c900eb44..b23df5c5 100644 --- a/tap-snapshots/test/snapshot/generateAlbumBanner.js.test.cjs +++ b/tap-snapshots/test/snapshot/generateAlbumBanner.js.test.cjs @@ -6,7 +6,7 @@ */ 'use strict' exports[`test/snapshot/generateAlbumBanner.js > TAP > generateAlbumBanner (snapshot) > basic behavior 1`] = ` -<div id="banner"><img src="media/album-art/cool-album/banner.png" alt="album banner" width="800" height="200"></div> +<div id="banner"><img src="media/album-art/cool-album/banner.png" width="800" height="200" alt="album banner"></div> ` exports[`test/snapshot/generateAlbumBanner.js > TAP > generateAlbumBanner (snapshot) > no banner 1`] = ` @@ -14,5 +14,5 @@ exports[`test/snapshot/generateAlbumBanner.js > TAP > generateAlbumBanner (snaps ` exports[`test/snapshot/generateAlbumBanner.js > TAP > generateAlbumBanner (snapshot) > no dimensions 1`] = ` -<div id="banner"><img src="media/album-art/cool-album/banner.png" alt="album banner" width="1100" height="200"></div> +<div id="banner"><img src="media/album-art/cool-album/banner.png" width="1100" height="200" alt="album banner"></div> ` diff --git a/tap-snapshots/test/snapshot/generateAlbumReleaseInfo.js.test.cjs b/tap-snapshots/test/snapshot/generateAlbumReleaseInfo.js.test.cjs index e9dbfea2..9257aeb8 100644 --- a/tap-snapshots/test/snapshot/generateAlbumReleaseInfo.js.test.cjs +++ b/tap-snapshots/test/snapshot/generateAlbumReleaseInfo.js.test.cjs @@ -7,7 +7,7 @@ 'use strict' exports[`test/snapshot/generateAlbumReleaseInfo.js > TAP > generateAlbumReleaseInfo (snapshot) > basic behavior 1`] = ` <p> - By <span class="contribution nowrap"><a href="artist/toby-fox/">Toby Fox</a> (music probably)</span> and <span class="contribution has-tooltip nowrap"><a href="artist/tensei/">Tensei</a> (hot jams)<span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a href="https://tenseimusic.bandcamp.com/" class="icon has-text"> + By <span class="contribution nowrap"><a href="artist/toby-fox/">Toby Fox</a> (music probably)</span> and <span class="contribution has-tooltip nowrap"><a href="artist/tensei/">Tensei</a> (hot jams)<span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a class="icon has-text" href="https://tenseimusic.bandcamp.com/"> <svg><use href="static/icons.svg#icon-bandcamp"></use></svg> <span class="icon-text">tenseimusic</span> </a></span></span></span>. diff --git a/tap-snapshots/test/snapshot/generateBanner.js.test.cjs b/tap-snapshots/test/snapshot/generateBanner.js.test.cjs index bf2c03c3..870097c8 100644 --- a/tap-snapshots/test/snapshot/generateBanner.js.test.cjs +++ b/tap-snapshots/test/snapshot/generateBanner.js.test.cjs @@ -6,7 +6,7 @@ */ 'use strict' exports[`test/snapshot/generateBanner.js > TAP > generateBanner (snapshot) > basic behavior 1`] = ` -<div id="banner"><img src="media/album-art/cool-album/banner.png" alt="Very cool banner art." width="800" height="200"></div> +<div id="banner"><img src="media/album-art/cool-album/banner.png" width="800" height="200" alt="Very cool banner art."></div> ` exports[`test/snapshot/generateBanner.js > TAP > generateBanner (snapshot) > no dimensions 1`] = ` diff --git a/tap-snapshots/test/snapshot/image.js.test.cjs b/tap-snapshots/test/snapshot/image.js.test.cjs index 5119eb03..463447c9 100644 --- a/tap-snapshots/test/snapshot/image.js.test.cjs +++ b/tap-snapshots/test/snapshot/image.js.test.cjs @@ -19,7 +19,7 @@ exports[`test/snapshot/image.js > TAP > image (snapshot) > content warnings via ` exports[`test/snapshot/image.js > TAP > image (snapshot) > id with link 1`] = ` -<a id="banana" class="box image-link" href="foobar"><div class="image-container"><div class="image-inner-area"><img src="foobar"></div></div></a> +<a class="box image-link" href="foobar" id="banana"><div class="image-container"><div class="image-inner-area"><img src="foobar"></div></div></a> ` exports[`test/snapshot/image.js > TAP > image (snapshot) > id with square 1`] = ` diff --git a/tap-snapshots/test/snapshot/linkContribution.js.test.cjs b/tap-snapshots/test/snapshot/linkContribution.js.test.cjs index acb8faf4..2304088d 100644 --- a/tap-snapshots/test/snapshot/linkContribution.js.test.cjs +++ b/tap-snapshots/test/snapshot/linkContribution.js.test.cjs @@ -6,22 +6,22 @@ */ 'use strict' exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > loads of links (inline) 1`] = ` -<span class="contribution nowrap"><a href="artist/lorem-ipsum-lover/">Lorem Ipsum Lover</a> (<span class="icons icons-inline"><a href="https://loremipsum.io" class="icon"> +<span class="contribution nowrap"><a href="artist/lorem-ipsum-lover/">Lorem Ipsum Lover</a> (<span class="icons icons-inline"><a class="icon" href="https://loremipsum.io"> <svg> <title>External (loremipsum.io)</title> <use href="static/icons.svg#icon-globe"></use> </svg> - </a>, <a href="https://loremipsum.io/generator/" class="icon"> + </a>, <a class="icon" href="https://loremipsum.io/generator/"> <svg> <title>External (loremipsum.io)</title> <use href="static/icons.svg#icon-globe"></use> </svg> - </a>, <a href="https://loremipsum.io/#meaning" class="icon"> + </a>, <a class="icon" href="https://loremipsum.io/#meaning"> <svg> <title>External (loremipsum.io)</title> <use href="static/icons.svg#icon-globe"></use> </svg> - </a>, <a href="https://loremipsum.io/#usage-and-examples" class="icon"> + </a>, <a class="icon" href="https://loremipsum.io/#usage-and-examples"> <svg> <title>External (loremipsum.io)</title> <use href="static/icons.svg#icon-globe"></use> @@ -30,28 +30,28 @@ exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > ` exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > loads of links (tooltip) 1`] = ` -<span class="contribution has-tooltip"><a href="artist/lorem-ipsum-lover/">Lorem Ipsum Lover</a><span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a href="https://loremipsum.io" class="icon has-text"> +<span class="contribution has-tooltip"><a href="artist/lorem-ipsum-lover/">Lorem Ipsum Lover</a><span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a class="icon has-text" href="https://loremipsum.io"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">loremipsum.io</span> - </a><a href="https://loremipsum.io/generator/" class="icon has-text"> + </a><a class="icon has-text" href="https://loremipsum.io/generator/"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">loremipsum.io</span> - </a><a href="https://loremipsum.io/#meaning" class="icon has-text"> + </a><a class="icon has-text" href="https://loremipsum.io/#meaning"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">loremipsum.io</span> - </a><a href="https://loremipsum.io/#usage-and-examples" class="icon has-text"> + </a><a class="icon has-text" href="https://loremipsum.io/#usage-and-examples"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">loremipsum.io</span> - </a><a href="https://loremipsum.io/#controversy" class="icon has-text"> + </a><a class="icon has-text" href="https://loremipsum.io/#controversy"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">loremipsum.io</span> - </a><a href="https://loremipsum.io/#when-to-use-lorem-ipsum" class="icon has-text"> + </a><a class="icon has-text" href="https://loremipsum.io/#when-to-use-lorem-ipsum"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">loremipsum.io</span> - </a><a href="https://loremipsum.io/#lorem-ipsum-all-the-things" class="icon has-text"> + </a><a class="icon has-text" href="https://loremipsum.io/#lorem-ipsum-all-the-things"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">loremipsum.io</span> - </a><a href="https://loremipsum.io/#original-source" class="icon has-text"> + </a><a class="icon has-text" href="https://loremipsum.io/#original-source"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">loremipsum.io</span> </a></span></span></span> @@ -64,19 +64,19 @@ exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > ` exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > no preventWrapping 1`] = ` -<span class="contribution"><a href="artist/clark-powell/">Clark Powell</a> (<span class="icons icons-inline"><a href="https://soundcloud.com/plazmataz" class="icon"> +<span class="contribution"><a href="artist/clark-powell/">Clark Powell</a> (<span class="icons icons-inline"><a class="icon" href="https://soundcloud.com/plazmataz"> <svg> <title>SoundCloud</title> <use href="static/icons.svg#icon-soundcloud"></use> </svg> </a></span>)</span> <span class="contribution"><a href="artist/the-big-baddies/">Grounder & Scratch</a> (Snooping)</span> -<span class="contribution"><a href="artist/toby-fox/">Toby Fox</a> (Arrangement) (<span class="icons icons-inline"><a href="https://tobyfox.bandcamp.com/" class="icon"> +<span class="contribution"><a href="artist/toby-fox/">Toby Fox</a> (Arrangement) (<span class="icons icons-inline"><a class="icon" href="https://tobyfox.bandcamp.com/"> <svg> <title>Bandcamp</title> <use href="static/icons.svg#icon-bandcamp"></use> </svg> - </a>, <a href="https://toby.fox/" class="icon"> + </a>, <a class="icon" href="https://toby.fox/"> <svg> <title>External (toby.fox)</title> <use href="static/icons.svg#icon-globe"></use> @@ -91,19 +91,19 @@ exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > ` exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > only showIcons (inline) 1`] = ` -<span class="contribution nowrap"><a href="artist/clark-powell/">Clark Powell</a> (<span class="icons icons-inline"><a href="https://soundcloud.com/plazmataz" class="icon"> +<span class="contribution nowrap"><a href="artist/clark-powell/">Clark Powell</a> (<span class="icons icons-inline"><a class="icon" href="https://soundcloud.com/plazmataz"> <svg> <title>SoundCloud</title> <use href="static/icons.svg#icon-soundcloud"></use> </svg> </a></span>)</span> <a href="artist/the-big-baddies/">Grounder & Scratch</a> -<span class="contribution nowrap"><a href="artist/toby-fox/">Toby Fox</a> (<span class="icons icons-inline"><a href="https://tobyfox.bandcamp.com/" class="icon"> +<span class="contribution nowrap"><a href="artist/toby-fox/">Toby Fox</a> (<span class="icons icons-inline"><a class="icon" href="https://tobyfox.bandcamp.com/"> <svg> <title>Bandcamp</title> <use href="static/icons.svg#icon-bandcamp"></use> </svg> - </a>, <a href="https://toby.fox/" class="icon"> + </a>, <a class="icon" href="https://toby.fox/"> <svg> <title>External (toby.fox)</title> <use href="static/icons.svg#icon-globe"></use> @@ -112,34 +112,34 @@ exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > ` exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > only showIcons (tooltip) 1`] = ` -<span class="contribution has-tooltip"><a href="artist/clark-powell/">Clark Powell</a><span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a href="https://soundcloud.com/plazmataz" class="icon has-text"> +<span class="contribution has-tooltip"><a href="artist/clark-powell/">Clark Powell</a><span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a class="icon has-text" href="https://soundcloud.com/plazmataz"> <svg><use href="static/icons.svg#icon-soundcloud"></use></svg> <span class="icon-text">plazmataz</span> </a></span></span></span> <span class="contribution nowrap"><a href="artist/the-big-baddies/">Grounder & Scratch</a> (Snooping)</span> -<span class="contribution has-tooltip nowrap"><a href="artist/toby-fox/">Toby Fox</a> (Arrangement)<span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a href="https://tobyfox.bandcamp.com/" class="icon has-text"> +<span class="contribution has-tooltip nowrap"><a href="artist/toby-fox/">Toby Fox</a> (Arrangement)<span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a class="icon has-text" href="https://tobyfox.bandcamp.com/"> <svg><use href="static/icons.svg#icon-bandcamp"></use></svg> <span class="icon-text">tobyfox</span> - </a><a href="https://toby.fox/" class="icon has-text"> + </a><a class="icon has-text" href="https://toby.fox/"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">toby.fox</span> </a></span></span></span> ` exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > showContribution & showIcons (inline) 1`] = ` -<span class="contribution nowrap"><a href="artist/clark-powell/">Clark Powell</a> (<span class="icons icons-inline"><a href="https://soundcloud.com/plazmataz" class="icon"> +<span class="contribution nowrap"><a href="artist/clark-powell/">Clark Powell</a> (<span class="icons icons-inline"><a class="icon" href="https://soundcloud.com/plazmataz"> <svg> <title>SoundCloud</title> <use href="static/icons.svg#icon-soundcloud"></use> </svg> </a></span>)</span> <span class="contribution nowrap"><a href="artist/the-big-baddies/">Grounder & Scratch</a> (Snooping)</span> -<span class="contribution nowrap"><a href="artist/toby-fox/">Toby Fox</a> (Arrangement) (<span class="icons icons-inline"><a href="https://tobyfox.bandcamp.com/" class="icon"> +<span class="contribution nowrap"><a href="artist/toby-fox/">Toby Fox</a> (Arrangement) (<span class="icons icons-inline"><a class="icon" href="https://tobyfox.bandcamp.com/"> <svg> <title>Bandcamp</title> <use href="static/icons.svg#icon-bandcamp"></use> </svg> - </a>, <a href="https://toby.fox/" class="icon"> + </a>, <a class="icon" href="https://toby.fox/"> <svg> <title>External (toby.fox)</title> <use href="static/icons.svg#icon-globe"></use> @@ -148,15 +148,15 @@ exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > ` exports[`test/snapshot/linkContribution.js > TAP > linkContribution (snapshot) > showContribution & showIcons (tooltip) 1`] = ` -<span class="contribution has-tooltip"><a href="artist/clark-powell/">Clark Powell</a><span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a href="https://soundcloud.com/plazmataz" class="icon has-text"> +<span class="contribution has-tooltip"><a href="artist/clark-powell/">Clark Powell</a><span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a class="icon has-text" href="https://soundcloud.com/plazmataz"> <svg><use href="static/icons.svg#icon-soundcloud"></use></svg> <span class="icon-text">plazmataz</span> </a></span></span></span> <span class="contribution nowrap"><a href="artist/the-big-baddies/">Grounder & Scratch</a> (Snooping)</span> -<span class="contribution has-tooltip nowrap"><a href="artist/toby-fox/">Toby Fox</a> (Arrangement)<span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a href="https://tobyfox.bandcamp.com/" class="icon has-text"> +<span class="contribution has-tooltip nowrap"><a href="artist/toby-fox/">Toby Fox</a> (Arrangement)<span class="icons icons-tooltip" inert><span class="icons-tooltip-content"><a class="icon has-text" href="https://tobyfox.bandcamp.com/"> <svg><use href="static/icons.svg#icon-bandcamp"></use></svg> <span class="icon-text">tobyfox</span> - </a><a href="https://toby.fox/" class="icon has-text"> + </a><a class="icon has-text" href="https://toby.fox/"> <svg><use href="static/icons.svg#icon-globe"></use></svg> <span class="icon-text">toby.fox</span> </a></span></span></span> diff --git a/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs b/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs index 0d9ef77b..37fe3df9 100644 --- a/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs +++ b/tap-snapshots/test/snapshot/linkTemplate.js.test.cjs @@ -6,7 +6,7 @@ */ 'use strict' exports[`test/snapshot/linkTemplate.js > TAP > linkTemplate (snapshot) > fill many slots 1`] = ` -<a class="dog" id="cat1" href="https://hsmusic.wiki/media/cool%20file.pdf#fooey" style="--primary-color: #123456ff; --dim-color: #12345677">My Cool Link</a> +<a href="https://hsmusic.wiki/media/cool%20file.pdf#fooey" style="--primary-color: #123456ff; --dim-color: #12345677" class="dog" id="cat1">My Cool Link</a> ` exports[`test/snapshot/linkTemplate.js > TAP > linkTemplate (snapshot) > fill path slot & provide appendIndexHTML 1`] = ` |