Skip to content

Commit

Permalink
[Docs] invoke: Add missing backticks to end of codeblock
Browse files Browse the repository at this point in the history
The example for invoke is missing a closing set of backticks for the example which is leading to it not rendering correctly on the docs site (https://airbnb.io/enzyme/docs/api/ShallowWrapper/invoke.html).

This commit updates the code example in . `invoke.md` to include the missing backticks.
  • Loading branch information
wannabefro authored and ljharb committed Jun 10, 2019
1 parent 962e317 commit dbb5aae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api/ShallowWrapper/invoke.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ const wrapper = shallow(<Foo />);
wrapper.find('a').invoke('onClick')().then(() => {
// expect()
});
```

0 comments on commit dbb5aae

Please sign in to comment.