mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Fix latent mistake using old SD API
This commit is contained in:
@@ -748,7 +748,7 @@ suite('attach/detach tests', function() {
|
||||
assert.equal(el.parentNode, removalContainer);
|
||||
let div = document.createElement('div');
|
||||
document.body.appendChild(div);
|
||||
let frag = div.createShadowRoot();
|
||||
let frag = div.attachShadow({mode: 'open'});
|
||||
frag.appendChild(toBeRemoved);
|
||||
setTimeout(function() {
|
||||
assert.equal(el.parentNode, frag);
|
||||
|
||||
Reference in New Issue
Block a user