From aa959dcb974ffde58e807d8fb045f44edce23fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 13 Aug 2014 19:23:47 -0700 Subject: [PATCH] TestUtils docs: isComponentOfType -> isDescriptorOfType Fixes #1946 --- docs/docs/09.4-test-utils.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/09.4-test-utils.md b/docs/docs/09.4-test-utils.md index 0b05d8fcbb99d..18c6349593b8c 100644 --- a/docs/docs/09.4-test-utils.md +++ b/docs/docs/09.4-test-utils.md @@ -43,13 +43,13 @@ object mockComponent(function componentClass, string? tagName) 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. -### isComponentOfType +### isDescriptorOfType ```javascript -boolean isComponentOfType(ReactComponent instance, function componentClass) +boolean isDescriptorOfType(ReactDescriptor descriptor, function componentClass) ``` -Returns true if `instance` is an instance of a React `componentClass`. +Returns true if `descriptor` is an instance of a React `componentClass`. ### isDOMComponent