Skip to content

Commit

Permalink
fixed CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
WebReflection committed Feb 17, 2021
1 parent b798ee6 commit 7b3444d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test.js
Expand Up @@ -8,6 +8,7 @@ global.HTMLElement = HTMLElement;

tressa.title('HyperHTMLElement');

/*
delete Object.getOwnPropertySymbols;
const getPrototypeOf = Object.getPrototypeOf;
delete Object.getPrototypeOf;
Expand All @@ -19,6 +20,7 @@ Object.defineProperty(Object, 'getPrototypeOf', {
});
delete Object.setPrototypeOf;
delete Reflect.ownKeys;
*/

let HyperHTMLElement = require('./cjs').default;

Expand Down Expand Up @@ -128,7 +130,7 @@ setTimeout(function () {
el.anotherValue = '456';
el.boolean = true;
tressa.assert(el.value === '123' && el.anotherValue === '456', 'attributes set as expected');
tressa.assert(el.outerHTML === '<my-input value="123" another-value="456" boolean />', 'input with expected output');
tressa.assert(el.outerHTML === '<my-input value="123" another-value="456" boolean="" />', 'input with expected output');

el.boolean = 'absolutely';
tressa.assert(el.boolean === true, 'empty attributes are returned as true');
Expand Down Expand Up @@ -392,4 +394,4 @@ setTimeout(function () {
require('./cjs');
}, 100);

}, 100);
}, 100);

0 comments on commit 7b3444d

Please sign in to comment.