diff --git a/docs/09.4-test-utils.md b/docs/09.4-test-utils.md index 18c63495..2eec1d23 100644 --- a/docs/09.4-test-utils.md +++ b/docs/09.4-test-utils.md @@ -38,7 +38,7 @@ Render a component into a detached DOM node in the document. **This function req ### mockComponent ```javascript -object mockComponent(function componentClass, string? tagName) +object mockComponent(function componentClass, string? mockTagName) ``` Pass a mocked component module to this method to augment it with useful methods that allow it to be used as a dummy React component. Instead of rendering as usual, the component will become a simple `
` (or other tag if `mockTagName` is provided) containing any provided children.