Skip to content

Commit

Permalink
Skip test when custom elements polyfill is in use
Browse files Browse the repository at this point in the history
Cannot be supported with polyfill because it uses setAttribute.
  • Loading branch information
Steven Orvell committed Jan 30, 2020
1 parent 688243b commit fb1a783
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/unit/legacy-noattributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@
assert.ok(def);
});

test('native properties observeable when `_legacyForceObservedAttributes` set', () => {
test('native properties observeable when `_legacyForceObservedAttributes` set', function() {
if (customElements.polyfillWrapFlushCallback) {
this.skip();
}
el = document.createElement('x-native-attrs-force');
document.body.appendChild(el);
el.tabIndex = 5;
Expand Down

0 comments on commit fb1a783

Please sign in to comment.