From ca85a9475e5488b69e4cc10ef4df879cd614f6d3 Mon Sep 17 00:00:00 2001 From: Patrick Hayes Date: Tue, 3 Oct 2017 00:03:16 -0700 Subject: [PATCH] Fix typo in docs --- docs/api/ShallowWrapper/hostNodes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/ShallowWrapper/hostNodes.md b/docs/api/ShallowWrapper/hostNodes.md index c34204f2e..7fd41e85f 100644 --- a/docs/api/ShallowWrapper/hostNodes.md +++ b/docs/api/ShallowWrapper/hostNodes.md @@ -13,6 +13,6 @@ Returns a new wrapper with only host nodes. #### Examples ```jsx -const wrapper = mount(
); +const wrapper = shallow(
); expect(wrapper.find('.foo').hostNodes()).to.have.length(1); ```