From 6b839112c7d29223450d6884fbb718c2df61292c Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Fri, 22 Jan 2016 20:04:10 -0800 Subject: [PATCH] Fix shadow dom test. --- test/unit/dom-if.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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();