Returns true if `instance` is a composite component (created with `React.createClass()`).
Returns `true` if `instance` is a composite component (created with `React.createClass()`).
### isCompositeComponentWithType
@ -81,7 +81,7 @@ Returns true if `instance` is a composite component (created with `React.createC
boolean isCompositeComponentWithType(ReactComponent instance, function componentClass)
```
Returns true if `instance` is a composite component (created with `React.createClass()`) whose type is of a React `componentClass`.
Returns `true` if `instance` is a composite component (created with `React.createClass()`) whose type is of a React `componentClass`.
### findAllInRenderedTree
@ -89,7 +89,7 @@ Returns true if `instance` is a composite component (created with `React.createC
array findAllInRenderedTree(ReactComponent tree, function test)
```
Traverse all components in `tree` and accumulate all components where `test(component)` is true. This is not that useful on its own, but it's used as a primitive for other test utils.
Traverse all components in `tree` and accumulate all components where `test(component)` is `true`. This is not that useful on its own, but it's used as a primitive for other test utils.
### scryRenderedDOMComponentsWithClass
@ -160,7 +160,7 @@ Similar to `React.render`.
ReactComponent shallowRenderer.getRenderOutput()
```
After render has been called, returns shallowly rendered output. You can then begin to assert facts about the output. For example, if your component's render method returns:
After `render` has been called, returns shallowly rendered output. You can then begin to assert facts about the output. For example, if your component's render method returns: