Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
picodoth committed May 7, 2018
1 parent 18dc804 commit 0bc6b57
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/MenuItem.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,8 @@ describe('MenuItem', () => {
expect(wrapper.render()).toMatchSnapshot();
wrapper.find('MenuItem').at(0).simulate('click');
expect(onClick).toHaveBeenCalledTimes(1);
wrapper.find('SubMenu').at(0).simulate('click');
expect(onClick).toHaveBeenCalledTimes(2);
wrapper.find('MenuItemGroup').at(0).simulate('click');
expect(onClick).toHaveBeenCalledTimes(3);
expect(onClick).toHaveBeenCalledTimes(2);
});
});

Expand Down

0 comments on commit 0bc6b57

Please sign in to comment.