diff --git a/docs/api/render.md b/docs/api/render.md index dab1cf262..1dcd19de6 100644 --- a/docs/api/render.md +++ b/docs/api/render.md @@ -11,7 +11,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. [Here](https://github.com/cheeriojs/cheerio#api) is a link to the API available from a `CheerioWrapper` instance. ### Example Usage @@ -29,6 +29,11 @@ describe('', () => { const wrapper = render(); expect(wrapper.text()).to.contain("unique"); }); + + it('renders a div', () => { + const wrapper = render(
); + expect(wrapper.html()).to.contain("div"); + }); }); ```