Skip to content

Commit

Permalink
Update test to avoid template polypill issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Nov 6, 2015
1 parent 62f2d2a commit fa96ff3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/unit/dom-if.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@
</template>
</div>

<template id="trueif">
<template is="dom-if" if>
<div></div>
</template>
<template is="dom-if" id="simple">
<div></div>
</template>

<script>
Expand Down Expand Up @@ -502,7 +500,8 @@
suite('queueing race conditions', function() {

test('domif=true, attach, detach', function(done) {
var domif = document.importNode(document.querySelector('#trueif').content, true).firstElementChild;
var domif = document.querySelector('#simple');
domif.if = true;
document.body.appendChild(domif);
document.body.removeChild(domif);
setTimeout(function() {
Expand Down

0 comments on commit fa96ff3

Please sign in to comment.