Skip to content

Commit

Permalink
Remove crufty test
Browse files Browse the repository at this point in the history
Remove test based on ShadyDOM api that does not exist.
  • Loading branch information
Steven Orvell committed Jul 14, 2017
1 parent 0b23e74 commit c96350b
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions test/unit/shady-dynamic.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c96350b

Please sign in to comment.