test for <my-new-widget> fails

This commit is contained in:
Andrew Towers 2018-08-25 01:09:26 +10:00
parent a62f7d616b
commit b963e9bca9

View file

@ -272,4 +272,13 @@ describe('HTML Parser', function () {
root.firstChild.tagName.should.eql('my-widget');
});
});
describe('Custom Element multiple dash', function () {
it('parse "<my-new-widget></my-new-widget>" tagName should be "my-new-widget"', function () {
var root = parseHTML('<my-new-widget></my-new-widget>');
root.firstChild.tagName.should.eql('my-new-widget');
});
});
});