Skip to content

Commit fb1a783

Browse files
author
Steven Orvell
committed
Skip test when custom elements polyfill is in use
Cannot be supported with polyfill because it uses setAttribute.
1 parent 688243b commit fb1a783

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/unit/legacy-noattributes.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@
117117
assert.ok(def);
118118
});
119119

120-
test('native properties observeable when `_legacyForceObservedAttributes` set', () => {
120+
test('native properties observeable when `_legacyForceObservedAttributes` set', function() {
121+
if (customElements.polyfillWrapFlushCallback) {
122+
this.skip();
123+
}
121124
el = document.createElement('x-native-attrs-force');
122125
document.body.appendChild(el);
123126
el.tabIndex = 5;

0 commit comments

Comments
 (0)