You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2021. It is now read-only.
var Test = React.createClass({
render: function() {
return <div><TestTwo /></div>
}
});
var TestTwo = React.createClass({
render: function() {
return <div> 'hi'</div>
}
})
renderer = new ShallowRenderer.Renderer;
component = renderer.render(Test, {}, {});
ShallowRenderer.findAllWithType(component, 'TestTwo')
Should this return an array with one element representing the TestTwo component? It is currently returning an empty array. I'm trying to verify that I am using this correctly.
It looks as if .type passed to findAll is not returning the correct value.