diff --git a/test/unit/dom-if.html b/test/unit/dom-if.html index 0f5554729d..5b554b0174 100644 --- a/test/unit/dom-if.html +++ b/test/unit/dom-if.html @@ -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();