MyComponent
.");'
- text: ''
testString: 'assert((function() { const mockedComponent = Enzyme.mount(React.createElement(MyComponent)); return mockedComponent.find("h1").text() === "My First React Component!"; })(), "MyComponent
should contain an h1
tag with text My First React Component!
Case and punctuation matter.");'
- text: ''
testString: 'assert(document.getElementById("challenge-node").childNodes.length === 1, "MyComponent
should render to the DOM.");'
```