From 4ba83e17f751358b35bd8ff63d9beef27cf80fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Mon, 22 Sep 2014 14:42:38 -0700 Subject: [PATCH] Merge pull request #2225 from jesseskinner/patch-1 Fix inconsistency in mockComponent argument name --- docs/docs/09.4-test-utils.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/09.4-test-utils.md b/docs/docs/09.4-test-utils.md index 18c6349593..2eec1d23cd 100644 --- a/docs/docs/09.4-test-utils.md +++ b/docs/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.