When writing unit tests for React, shallow rendering can be helpful.
Shallow rendering permits one to render a component "one level deep" and
assert facts about what its render method returns, without worrying about
the behavior of child components, which are not instantiated or rendered.
This does not require a DOM.
Installed Size: 200.7 kB
Architectures: all