Skip to content

Commit

Permalink
update simulate example
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei McMillan committed Jan 21, 2016
1 parent 3763d32 commit de83b7d
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 de83b7d

Please sign in to comment.