Skip to content

Commit

Permalink
Merge pull request enzymejs#131 from amcmillan01/patch-1
Browse files Browse the repository at this point in the history
update simulate example
  • Loading branch information
lelandrichardson committed Jan 21, 2016
2 parents 3763d32 + de83b7d commit 49e145b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ReactWrapper/simulate.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ class Foo extends React.Component {
const wrapper = mount(<Foo />);

expect(wrapper.find('.clicks-0').length).to.equal(1);
wrapper.simulate('click');
wrapper.find('a').simulate('click');
expect(wrapper.find('.clicks-1').length).to.equal(1);
```

0 comments on commit 49e145b

Please sign in to comment.