Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/ReactWrapper/mount.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion packages/enzyme/src/ReactWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down