diff --git a/docs/api/render.md b/docs/api/render.md index 91aa8c929..e6533f701 100644 --- a/docs/api/render.md +++ b/docs/api/render.md @@ -10,7 +10,7 @@ disservice. For the purposes of this documentation, we will refer to Cheerio's constructor as `CheerioWrapper`, which is to say that it is analogous to our `ReactWrapper` and `ShallowWrapper` -constructors. +constructors. You can reference the [Cheerio API docs](https://github.com/cheeriojs/cheerio#api) for methods available on a `CheerioWrapper` instance. ### Example Usage @@ -30,6 +30,11 @@ describe('', () => { expect(wrapper.text()).to.contain('unique'); }); + it('renders a div', () => { + const wrapper = render(
); + expect(wrapper.html()).to.contain('div'); + }); + it('can pass in context', () => { function SimpleComponent(props, context) { const { name } = context;