Skip to content

Commit

Permalink
[test] Add suiteTeardown for default test
Browse files Browse the repository at this point in the history
  • Loading branch information
t2ym committed May 16, 2017
1 parent fd28c61 commit 44b56ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/basic-test.html
Expand Up @@ -269,6 +269,14 @@
assert.equal(Polymer.dom(el.root).textContent, '', 'textContent is empty');
});

suiteTeardown(function () {
el = undefined;
var f = document.querySelector('test-fixture#default');
if (f && typeof f.restore === 'function') {
f.restore();
}
});

});

if (!Number.isNaN) {
Expand Down

0 comments on commit 44b56ff

Please sign in to comment.