diff options
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 |
commit | 860453fa79802768ac0b4e19efa64d0be02ef66c (patch) | |
tree | b0a7785d8379be47efe1a07f644bb62544390b13 /test/snapshot | |
parent | b11444bf1ef1c111c39c7e898f08014f18e1139a (diff) |
test: transformContent (snapshot) - [[date]], [[string]]
Diffstat (limited to 'test/snapshot')
-rw-r--r-- | test/snapshot/transformContent.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/snapshot/transformContent.js b/test/snapshot/transformContent.js index f55ca4fa..bf09a751 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]]`); }); |