Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
VagnerSilva committed Aug 10, 2018
1 parent 243ce46 commit b6aebf7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/template/decorator/webcomponent.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ describe('WebComponent instance', () => {

it('Call disconnectedCallback when removed from DOM', () => {
expect(el.connected).to.be.ok;
// document.body.removeChild(el);
el.remove();
expect(el.connected).not.to.be.ok;
expect(document.body).not.to.be.include(el);
});
});

0 comments on commit b6aebf7

Please sign in to comment.