« get me outta code hell

test: transformContent (snapshot) - [[date]], [[string]] - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-08 21:20:47 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-08 21:20:47 -0300
commit860453fa79802768ac0b4e19efa64d0be02ef66c (patch)
treeb0a7785d8379be47efe1a07f644bb62544390b13 /test/snapshot
parentb11444bf1ef1c111c39c7e898f08014f18e1139a (diff)
test: transformContent (snapshot) - [[date]], [[string]]
Diffstat (limited to 'test/snapshot')
-rw-r--r--test/snapshot/transformContent.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/snapshot/transformContent.js b/test/snapshot/transformContent.js
index f55ca4f..bf09a75 100644
--- a/test/snapshot/transformContent.js
+++ b/test/snapshot/transformContent.js
@@ -57,4 +57,12 @@ testContentFunctions(t, 'transformContent (snapshot)', async (t, evaluate) => {
   quickSnapshot(
     'non-inline image #3',
       `<img src="spark.png">\nBaller.`);
+
+  quickSnapshot(
+    'dates',
+      `[[date:2023-04-13]] Yep!\nVery nice: [[date:25 October 2413]]`);
+
+  quickSnapshot(
+    'super basic string',
+      `Neat listing: [[string:listingPage.listAlbums.byDate.title]]`);
 });