I'm trying to test a component and I'm getting this error:
It's when ever I test this:
{React.cloneElement(this.props.children, ...this.props)}
inside of a Component test.
This is basically what the test looks like, pretty simple:
Is this a bug? Or am I missing something?
Aucun commentaire:
Enregistrer un commentaire