Skip to content

Commit

Permalink
Removed extraneous brackets from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
therewillbecode committed Sep 16, 2017
1 parent 27d05a0 commit 0cabd49
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ describe('<MyComponent />', () => {

it('simulates click events', () => {
const onButtonClick = sinon.spy();
const wrapper = shallow((
<Foo onButtonClick={onButtonClick} />
));
const wrapper = shallow(<Foo onButtonClick={onButtonClick} />);
wrapper.find('button').simulate('click');
expect(onButtonClick).to.have.property('callCount', 1);
});
Expand Down

0 comments on commit 0cabd49

Please sign in to comment.