Fix shadow dom test.

This commit is contained in:
Steven Orvell 2016-01-22 20:04:10 -08:00
parent 4b7da35738
commit 6b839112c7

View File

@ -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();