MyComponent
should render a div
element.");'
- text: ''
testString: 'assert((function() { const lifecycle = React.createElement(MyComponent).type.prototype.componentWillMount.toString().replace(/ /g,""); return lifecycle.includes("console.log("); })(), "console.log
should be called in componentWillMount
.");'
```