« get me outta code hell

test: specify mutable on html slots - 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>2024-01-01 13:47:54 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-01 20:06:23 -0400
commit2ab124884fa3d0f9c74dd52e3e823d08b4b01a6d (patch)
treeedda2331dc15150dbf33502010aab129fd2cc576 /test/unit/util
parentf53b9df7452ef886cf85db5bb72a48f32dce3dbb (diff)
test: specify mutable on html slots
These tests obviously need some updating, but it's out of scope
for this commit.
Diffstat (limited to 'test/unit/util')
-rw-r--r--test/unit/util/html.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/util/html.js b/test/unit/util/html.js
index b5956e67..1652aee2 100644
--- a/test/unit/util/html.js
+++ b/test/unit/util/html.js
@@ -723,7 +723,7 @@ t.test(`Template - description errors`, t => {
         slot3: {type: 'bigint'},
         slot4: {type: 'boolean'},
         slot5: {type: 'symbol'},
-        slot6: {type: 'html'},
+        slot6: {type: 'html', mutable: false},
       },
       content: () => {},
     }));
@@ -739,7 +739,7 @@ t.test(`Template - slot value errors`, t => {
       basicBigint: {type: 'bigint'},
       basicBoolean: {type: 'boolean'},
       basicSymbol: {type: 'symbol'},
-      basicHTML: {type: 'html'},
+      basicHTML: {type: 'html', mutable: false},
     },
 
     content: slots =>