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
Same as scryRenderedComponentsWithTypeV2 but expects there to be one result
and returns that one result, or throws exception if there is any other
number of matches besides one.
Like scryRenderedDOMComponentsWithClass() but expects there to be one
result, and returns that one result, or throws exception if there is
any other number of matches besides one.
Like scryRenderedDOMComponentsWithTag() but expects there to be one result,
and returns that one result, or throws exception if there is any other
number of matches besides one.
Returns true if instance is a custom composite component created using React.createClass()
that is of the ReactComponentFactoryProxy.type of the provided componentFactory.
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