diff --git a/docs/api/ReactWrapper/mount.md b/docs/api/ReactWrapper/mount.md index 6eeb7fd5d..ae7597c53 100644 --- a/docs/api/ReactWrapper/mount.md +++ b/docs/api/ReactWrapper/mount.md @@ -1,6 +1,6 @@ # `.mount() => Self` -A method that re-mounts the component. This can be used to simulate a component going through +A method that re-mounts the component, if it is not currently mounted. This can be used to simulate a component going through an unmount/mount lifecycle. #### Returns diff --git a/packages/enzyme/src/ReactWrapper.js b/packages/enzyme/src/ReactWrapper.js index d14a3fc0a..326b9a547 100644 --- a/packages/enzyme/src/ReactWrapper.js +++ b/packages/enzyme/src/ReactWrapper.js @@ -244,7 +244,8 @@ class ReactWrapper { } /** - * A method that re-mounts the component. This can be used to simulate a component going through + * A method that re-mounts the component, if it is not currently mounted. + * This can be used to simulate a component going through * an unmount/mount lifecycle. * * @returns {ReactWrapper}