Skip to content

Commit

Permalink
Move test to other suite that is better suited
Browse files Browse the repository at this point in the history
  • Loading branch information
Haprog committed Mar 13, 2019
1 parent 1eb31df commit 57e9266
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 4 additions & 0 deletions test/item-renderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
comboBox.render();
expect(comboBox.renderer.callCount).to.be.equal(renderedCount * 2);
});

it('should not throw if render() called before opening', () => {
expect(() => comboBox.render()).not.to.throw(Error);
});
});

describe('with template', () => {
Expand Down
12 changes: 0 additions & 12 deletions test/vaadin-combo-box.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,18 +371,6 @@
});
});
});

describe('Methods', () => {
let comboBox;

beforeEach(() => {
comboBox = fixture('combobox');
});

it('should not throw if render() called before opening', () => {
expect(() => comboBox.render()).not.to.throw(Error);
});
});
</script>

</body>
Expand Down

0 comments on commit 57e9266

Please sign in to comment.