« get me outta code hell

test: html.template more isHTML conditions - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/unit/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-03 15:19:47 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-03 15:19:47 -0300
commit583d4be1de6e7954cdb180631c3a4947458791f1 (patch)
treeb4560acc584db62401600f9d1b1205ca3051fed0 /test/unit/util
parent3ed9cdb3dbe97c28442e5eef1750d229eb788c4a (diff)
test: html.template more isHTML conditions
Diffstat (limited to 'test/unit/util')
-rw-r--r--test/unit/util/html.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit/util/html.js b/test/unit/util/html.js
index 6a352a3b..82f96b48 100644
--- a/test/unit/util/html.js
+++ b/test/unit/util/html.js
@@ -873,6 +873,13 @@ t.test(`Template - slot value errors`, t => {
         html.tag('span'),
         html.template({content: () => 'dog'}),
         html.blank(),
+        false && 'dogs',
+        null,
+        undefined,
+        html.tags([
+          html.tag('span', 'usual'),
+          html.tag('span', 'i'),
+        ]),
       ],
     }),
     new AggregateError([