Skip to content

Commit

Permalink
test error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amusso01 committed Mar 12, 2018
1 parent a2bc4c9 commit 19fd33c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('CounterWidget component', () => {
expect(spyonEdit).toHaveBeenCalled();
});
it('Test CounterWidget DropdownMenu', () => {
ReactDOM.render(<CounterWidget onEdit={actions.onEdit} />, document.getElementById("container"));
ReactDOM.render(<CounterWidget />, document.getElementById("container"));
const container = document.getElementById('container');
const el = container.querySelectorAll('.dropdown-menu dropdown-menu-right li');
expect(el).toEqual(2);
Expand Down

0 comments on commit 19fd33c

Please sign in to comment.