diff options
Diffstat (limited to 'tap-snapshots/test')
-rw-r--r-- | tap-snapshots/test/snapshot/transformContent.js.test.cjs | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/tap-snapshots/test/snapshot/transformContent.js.test.cjs b/tap-snapshots/test/snapshot/transformContent.js.test.cjs index dd859b2f..d144cf12 100644 --- a/tap-snapshots/test/snapshot/transformContent.js.test.cjs +++ b/tap-snapshots/test/snapshot/transformContent.js.test.cjs @@ -8,24 +8,21 @@ exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > dates 1`] = ` <p><time datetime="Thu, 13 Apr 2023 00:00:00 GMT">4/12/2023</time> Yep!</p> <p>Very nice: <time datetime="Fri, 25 Oct 2413 03:00:00 GMT">10/25/2413</time></p> - ` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > inline images 1`] = ` <p><img src="snooping.png"> as USUAL...</p> <p>What do you know? <img src="cowabunga.png" width="24" height="32"></p> -<p><a href="to-localized.album/cool-album" style="--primary-color: #123456; --dim-color: #000000">I'm on the left.</a><img src="im-on-the-right.jpg"></p> -<p><img src="im-on-the-left.jpg"><a href="to-localized.album/cool-album" style="--primary-color: #123456; --dim-color: #000000">I'm on the right.</a></p> +<p><a href="to-localized.album/cool-album" style="--primary-color: #123456; --dim-color: #000000">I'm on the left.</a><img src="im-on-the-right.jpg"></p> +<p><img src="im-on-the-left.jpg"><a href="to-localized.album/cool-album" style="--primary-color: #123456; --dim-color: #000000">I'm on the right.</a></p> <p>Media time! <img src="to-media.path/misc/interesting.png"> Oh yeah!</p> <p><img src="must.png"><img src="stick.png"><img src="together.png"></p> <p>And... all done! <img src="end-of-source.png"></p> - ` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > links to a thing 1`] = ` <p>This is <a href="to-localized.album/cool-album" style="--primary-color: #123456; --dim-color: #000000">my favorite album</a>.</p> <p>That's right, <a href="to-localized.album/cool-album" style="--primary-color: #123456; --dim-color: #000000">Cool Album</a>!</p> - ` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > lyrics - basic line breaks 1`] = ` @@ -34,7 +31,6 @@ And away we go<br> Truly, music</p> <p>(Oh yeah)<br> (That's right)</p> - ` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > lyrics - line breaks around tags 1`] = ` @@ -48,14 +44,12 @@ I say, the date be <time datetime="Tue, 13 Apr 2004 03:00:00 GMT">4/13/2004</tim <time datetime="Tue, 13 Apr 2004 03:00:00 GMT">4/13/2004</time><br></p> <p><time datetime="Tue, 13 Apr 2004 03:00:00 GMT">4/13/2004</time><br> <time datetime="Tue, 13 Apr 2004 03:00:00 GMT">4/13/2004</time>, and don't ye forget it</p> - ` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > lyrics - repeated and edge line breaks 1`] = ` <p>Well, you know<br> How it goes</p> <p>Yessiree</p> - ` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > non-inline image #1 1`] = ` @@ -69,18 +63,14 @@ exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > non exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > non-inline image #3 1`] = ` <div class="content-image"><a class="box image-link" href="spark.png"><div class="image-container"><div class="image-inner-area"><img src="spark.large.jpg"></div></div></a></div> - <p>Baller.</p> - ` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > super basic string 1`] = ` <p>Neat listing: Albums - by Date</p> - ` exports[`test/snapshot/transformContent.js TAP transformContent (snapshot) > two text paragraphs 1`] = ` <p>Hello, world!</p> <p>Wow, this is very cool.</p> - ` |