diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-23 20:19:12 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-23 20:19:12 -0300 |
commit | 61a3fad9cde8fa3809ccf26465f69dd050e6c669 (patch) | |
tree | 5c5c90d452c5aa7c023174bddc1a08f3f0acd75f /tap-snapshots | |
parent | 64476074cbc7375afe2388ddd6e9e3275c25f3bd (diff) | |
parent | a53d53e1f95d84b23cffb9a5d43f1a70a412b6fe (diff) |
Merge branch 'preview' into track-data-cleanup
Diffstat (limited to 'tap-snapshots')
-rw-r--r-- | tap-snapshots/test/snapshot/linkThing.js.test.cjs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tap-snapshots/test/snapshot/linkThing.js.test.cjs b/tap-snapshots/test/snapshot/linkThing.js.test.cjs new file mode 100644 index 00000000..1a98cfdd --- /dev/null +++ b/tap-snapshots/test/snapshot/linkThing.js.test.cjs @@ -0,0 +1,39 @@ +/* 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/linkThing.js TAP linkThing (snapshot) > basic behavior 1`] = ` +<a href="track/foo/" style="--primary-color: #abcdef; --dim-color: #818181">Cool track!</a> +` + +exports[`test/snapshot/linkThing.js TAP linkThing (snapshot) > color 1`] = ` +<a href="track/showtime-piano-refrain/">Showtime (Piano Refrain)</a> +<a href="track/showtime-piano-refrain/" style="--primary-color: #38f43d; --dim-color: #389f33">Showtime (Piano Refrain)</a> +<a href="track/showtime-piano-refrain/" style="--primary-color: #aaccff; --dim-color: #828282">Showtime (Piano Refrain)</a> +` + +exports[`test/snapshot/linkThing.js TAP linkThing (snapshot) > nested links in content stripped 1`] = ` +<a href="foo/"><b>Oooo! Very spooky.</b></a> +` + +exports[`test/snapshot/linkThing.js TAP linkThing (snapshot) > preferShortName 1`] = ` +<a href="tag/five-oceanfalls/">Five</a> +` + +exports[`test/snapshot/linkThing.js TAP linkThing (snapshot) > tags in name escaped 1`] = ` +<a href="track/foo/"><a href="SNOOPING">AS USUAL</a> I SEE</a> +<a href="track/bar/"><b>boldface</b></a> +<a href="album/exile/">>Exile<</a> +<a href="track/heart/"><3</a> +` + +exports[`test/snapshot/linkThing.js TAP linkThing (snapshot) > tooltip & content 1`] = ` +<a href="album/beyond-canon/">Beyond Canon</a> +<a href="album/beyond-canon/" title="Beyond Canon">Beyond Canon</a> +<a href="album/beyond-canon/" title="Beyond Canon">Next</a> +<a href="album/beyond-canon/" title="Apple">Banana</a> +<a href="album/beyond-canon/">Banana</a> +` |