« get me outta code hell

data steps: linkTemplate snapshot tests - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/tap-snapshots
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-03-26 08:42:14 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-03-26 08:42:14 -0300
commit4e6f3c16818d9beb200c337d48c8ae2470a322ee (patch)
treeb05bc1f5df177572bdf61eb32d0c34823d010ce1 /tap-snapshots
parent5dfdb661c4672bcf432c9bd283a2ffec5a3c1cb3 (diff)
data steps: linkTemplate snapshot tests
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test/snapshots/linkTemplate.js.test.cjs14
1 files changed, 14 insertions, 0 deletions
diff --git a/tap-snapshots/test/snapshots/linkTemplate.js.test.cjs b/tap-snapshots/test/snapshots/linkTemplate.js.test.cjs
new file mode 100644
index 00000000..e3c3356b
--- /dev/null
+++ b/tap-snapshots/test/snapshots/linkTemplate.js.test.cjs
@@ -0,0 +1,14 @@
+/* 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/snapshots/linkTemplate.js TAP linkTemplate > output 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>
+`
+
+exports[`test/snapshots/linkTemplate.js TAP linkTemplate > output 2`] = `
+<a href="/c*lzone/myCoolPath/ham/pineapple/tomato/index.html"></a>
+`