From 583d4be1de6e7954cdb180631c3a4947458791f1 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 3 Jun 2023 15:19:47 -0300 Subject: test: html.template more isHTML conditions --- test/unit/util/html.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/unit/util') 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([ -- cgit 1.3.0-6-gf8a5