diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-08-08 20:53:56 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-08 20:53:56 -0300 |
commit | 063d985d6ac4da4547e335a9c8740a1ec9f21570 (patch) | |
tree | c9291ca0bb39238646b573dec47d54772e4878b8 /test | |
parent | 31a15f783f915811990cefb90fe1661293c49f3d (diff) |
content: linkTemplate: display message when content missing
Diffstat (limited to 'test')
-rw-r--r-- | test/snapshot/linkTemplate.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/snapshot/linkTemplate.js b/test/snapshot/linkTemplate.js index 1db4582e..83d77108 100644 --- a/test/snapshot/linkTemplate.js +++ b/test/snapshot/linkTemplate.js @@ -30,6 +30,7 @@ testContentFunctions(t, 'linkTemplate (snapshot)', async (t, evaluate) => { slots: { path: ['myCoolPath', 'ham', 'pineapple', 'tomato'], + content: 'delish', }, }); @@ -41,6 +42,12 @@ testContentFunctions(t, 'linkTemplate (snapshot)', async (t, evaluate) => { 'homestuck-vol-1', 'Showtime (Piano Refrain) - #xXxAwesomeSheetMusick?rxXx#.pdf', ], + content: `Damn, that's some good sheet music`, }, }); + + evaluate.snapshot('missing content', { + name: 'linkTemplate', + slots: {href: 'banana'}, + }); }); |