diff options
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 |
commit | e1a0a73caed1ecff81630a53cd59c05ded509878 (patch) | |
tree | 4673275f8157ace51da5205e9d5b945854d3300b /test/unit | |
parent | b10e29d45ef233137132453902b46cfe0be679d0 (diff) |
test: html: remove outdated custom attribute test
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/util/html.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/unit/util/html.js b/test/unit/util/html.js index 01a510ec..3931b297 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 => { |