« get me outta code hell

test: html: remove outdated custom attribute test - 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-07-16 12:15:13 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-07-16 12:15:13 -0300
commite1a0a73caed1ecff81630a53cd59c05ded509878 (patch)
tree4673275f8157ace51da5205e9d5b945854d3300b /test/unit/util
parentb10e29d45ef233137132453902b46cfe0be679d0 (diff)
test: html: remove outdated custom attribute test
Diffstat (limited to 'test/unit/util')
-rw-r--r--test/unit/util/html.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/unit/util/html.js b/test/unit/util/html.js
index 01a510e..3931b29 100644
--- a/test/unit/util/html.js
+++ b/test/unit/util/html.js
@@ -480,21 +480,6 @@ t.test(`Tag.toString (joinChildren, noEdgeWhitespace)`, t => {
 
   t.equal(tag6.toString(),
     `<span><i>Oh yes~ </i>You're a cute one<sup>💕</sup></span>`);
-
-});
-
-t.test(`Tag.toString (custom attributes)`, t => {
-  t.plan(1);
-
-  t.test(`Tag.toString (custom attribute: href)`, t => {
-    t.plan(2);
-
-    const tag1 = html.tag('a', {href: `https://hsmusic.wiki/`});
-    t.equal(tag1.toString(), `<a href="https://hsmusic.wiki/"></a>`);
-
-    const tag2 = html.tag('a', {href: `https://hsmusic.wiki/media/Album Booklet.pdf`});
-    t.equal(tag2.toString(), `<a href="https://hsmusic.wiki/media/Album%20Booklet.pdf"></a>`);
-  });
 });
 
 t.test(`html.template`, t => {