Skip to content

Commit

Permalink
Fix shadow dom test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Jan 23, 2016
1 parent 4b7da35 commit 6b83911
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/unit/dom-if.html
Expand Up @@ -679,12 +679,8 @@
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();
Expand Down

0 comments on commit 6b83911

Please sign in to comment.