mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Fix shadow dom test.
This commit is contained in:
parent
4b7da35738
commit
6b839112c7
@ -679,12 +679,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
var frag = div.createShadowRoot();
|
||||
Polymer.dom(frag).appendChild(toBeRemoved);
|
||||
setTimeout(function() {
|
||||
assert.equal(el.parentNode, null);
|
||||
Polymer.dom(removalContainer).appendChild(frag);
|
||||
setTimeout(function() {
|
||||
assert.equal(shouldBeRemoved.parentNode, removalContainer);
|
||||
done();
|
||||
});
|
||||
assert.equal(el.parentNode, frag);
|
||||
done();
|
||||
});
|
||||
} else {
|
||||
done();
|
||||
|
Loading…
Reference in New Issue
Block a user