Used to test Document components using the shallow command. This will only render the imediate component.
Methods
-
<static> shallow(JSXComponent)
-
Shallow renders only the imediate component tree
Parameters:
Name Type Description JSXComponent
Component A component to shallow render
Returns:
A test wrapper representing the tree
- Type
- Wrapper