diff --git a/docs/api/ReactWrapper/getNode.md b/docs/api/ReactWrapper/getNode.md deleted file mode 100644 index a9d551779..000000000 --- a/docs/api/ReactWrapper/getNode.md +++ /dev/null @@ -1,32 +0,0 @@ -# `.getNode() => ReactElement` - -Returns the wrapper's underlying node. - - -#### Returns - -`ReactElement`: The retrieved node. - - - -#### Examples - -```jsx -function Test() { - return ( -
- - -
- ); -} - -const wrapper = mount(); -expect(wrapper.getNode()).to.be.an.instanceof(Test); -``` - - - -#### Related Methods - -- [`.getNodes() => Array`](getNodes.md) diff --git a/docs/api/ReactWrapper/getNodes.md b/docs/api/ReactWrapper/getNodes.md deleted file mode 100644 index 0c7708295..000000000 --- a/docs/api/ReactWrapper/getNodes.md +++ /dev/null @@ -1,32 +0,0 @@ -# `.getNodes() => Array` - -Returns the wrapper's underlying nodes. - - -#### Returns - -`Array`: The retrieved nodes. - - - -#### Examples - -```jsx -function Test() { - return ( -
- - -
- ); -} - -const wrapper = mount(); -expect(wrapper.find('span').getNodes()).to.have.lengthOf(2); -``` - - - -#### Related Methods - -- [`.getNode() => ReactElement`](getNode.md) diff --git a/docs/api/mount.md b/docs/api/mount.md index 20413223b..9e3eb98c3 100644 --- a/docs/api/mount.md +++ b/docs/api/mount.md @@ -129,12 +129,6 @@ Returns a static HTML rendering of the current node. #### [`.get(index) => ReactElement`](ReactWrapper/get.md) Returns the node at the provided index of the current wrapper. -#### [`.getNode() => ReactElement`](ReactWrapper/getNode.md) -Returns the wrapper's underlying node. - -#### [`.getNodes() => Array`](ReactWrapper/getNodes.md) -Returns the wrapper's underlying nodes. - #### [`.getDOMNode() => DOMComponent`](ReactWrapper/getDOMNode.md) Returns the outer most DOMComponent of the current wrapper.