From c96350b47ab1f74efec7c28b2871cebba6ef0aff Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Fri, 14 Jul 2017 13:17:49 -0700 Subject: [PATCH] Remove crufty test Remove test based on ShadyDOM api that does not exist. --- test/unit/shady-dynamic.html | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/test/unit/shady-dynamic.html b/test/unit/shady-dynamic.html index c935b92afa..c1b290f33b 100644 --- a/test/unit/shady-dynamic.html +++ b/test/unit/shady-dynamic.html @@ -920,38 +920,6 @@ assert.deepEqual(as$, ip$); }); - test('shadyRoot.update', function() { - var projected = testElement.root.querySelector('#projected'); - var rere = testElement.root.querySelector('x-rereproject'); - var c1 = rere.root.querySelector('slot'); - var re = rere.root.querySelector('x-reproject'); - var c2 = re.root.querySelector('slot'); - var p = re.root.querySelector('x-project'); - var c3 = p.root.querySelector('slot'); - var ip$ = [c1, c2, c3]; - if (testElement.shadowRoot) { - testElement.shadowRoot.update(); - } - Polymer.flush(); - assert.deepEqual(allInsertionPoints(projected), ip$); - rere = testElement.root.querySelector('x-rereproject'); - assert.equal(rere.is, 'x-rereproject'); - if (rere.shadowRoot) { - rere.shadowRoot.update(); - } - Polymer.flush(); - assert.deepEqual(allInsertionPoints(projected), ip$); - re = rere.root.querySelector('x-reproject'); - assert.equal(re.is, 'x-reproject'); - if (re.shadowRoot) { - re.shadowRoot.update(); - } - Polymer.flush(); - assert.deepEqual(allInsertionPoints(projected), ip$); - p = re.root.querySelector('x-project'); - assert.equal(p.is, 'x-project'); - }); - test('shadyRoot (reproject)', function() { var select = document.querySelector('x-select1'); var child = select.firstElementChild;