Open albertfdp opened 8 years ago
This should be pretty easy to add. This would be a great first PR :)
@bruderstein how do you identify that a renderer rendered null
?
You can check that its getRenderOutput()
returns null. However, that function is unavailable when using the raw JSX as the subject, and when using a shallow renderer (as given by TestUtils.createRenderer()
) it is not recognized as a ReactElement
type.
The error message you get:
It would be nice to support the following:
and