Traverse all components in tree and accumulate all components where test(component) is true.
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 scryRenderedComponentsWithType() 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.
Same as scryRenderedComponentsWithType() 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 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.
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 an instance of a React componentClass.
Returns true if instance is an instance of a React componentClass.
Returns true if instance is a composite component (created with React.createClass())
Returns true if instance is a composite component (created with React.createClass())
The combination of isComponentOfType() and isCompositeComponent().
The combination of isComponentOfType() and isCompositeComponent().
Returns true if instance is a DOM component (such as a <div> or <span>).
Returns true if instance is a DOM component (such as a <div> or <span>).
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.
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 <div> (or other tag if mockTagName is provided) containing any provided children.
Render a component into a detached DOM node in the document.
Render a component into a detached DOM node in the document. This function requires a DOM.
Finds all instances of components with type equal to componentClass.
Finds all instances of components with type equal to componentClass.
Finds all instance of components in the rendered tree that are DOM components with the class name matching className.
Finds all instance of components in the rendered tree that are DOM components with the class name matching className.
Finds all instance of components in the rendered tree that are DOM components with the tag name matching tagName.
Finds all instance of components in the rendered tree that are DOM components with the tag name matching tagName.
https://facebook.github.io/react/docs/test-utils.html