title: Jest: Cannot set property 'props' of undefined
body: <p>I'm starting learning Jest and I created this test. But when I run it, I receive this message below.</p>
  
  <p>Am I passing the props to the AppComponent the wrong way?</p>
  
  <blockquote>
    <p>TypeError: Cannot set property 'props' of undefined</p>
  </blockquote>
  
  <p>App.js:</p>
  
  <pre><code>const { store } = this.props;
  
  return (
    &lt;div&gt;
      &lt;h2 className={css(styles.hover)}&gt;Welcome to the { store.name } project!&lt;/h2&gt;
      &lt;h3&gt;This project is { store.description }.&lt;/h3&gt;
      &lt;MyComponent store={store} /&gt;
    &lt;/div&gt;
  );
  </code></pre>
  
  <p>App-test.js:</p>
  
  <pre><code>const storeProp = {
    name: 'Reaxor',
    description: 'Hello'
  }
  
  describe('App', () =&gt; {
    it('returns the correct text', () =&gt; {
  
      // Render a checkbox with label in the document
      const app = TestUtils.renderIntoDocument(
        &lt;App store={storeProp} /&gt;
      );
  
      const appNode = ReactDOM.findDOMNode(app);
  
      const h2 = TestUtils.findRenderedDOMComponentWithTag(app, 'h2')
      const h3 = TestUtils.findRenderedDOMComponentWithTag(app, 'h3')
  
      expect(h2.textContent).toEqual('Welcome to the Reaxor project!');
      expect(h3.textContent).toEqual('This project is Hello.')
    });
  });
  </code></pre>