title: Enzyme: Method “text” is only meant to be run on a single node. 0 found instead
body: <p>I'm using React v15.4, babel-jest v18 and enzyme v2.5.1</p>
  
  <p>I have a simple React Component:</p>
  
  <pre><code>import React, {Component} from 'react'
  import {FormattedRelative} from 'react-intl'
  import pageWithIntl from '../components/PageWithIntl'
  import Layout from '../components/Layout'
  
  class About extends Component {
    static async getInitialProps ({req}) {
      return {someDate: Date.now()}
    }
  
    render () {
      return (
        &lt;Layout&gt;
          &lt;h1&gt;About&lt;/h1&gt;
          &lt;p&gt;
            &lt;FormattedRelative
              value={this.props.someDate}
              updateInterval={1000}
            /&gt;
          &lt;/p&gt;
        &lt;/Layout&gt;
      )
    }
  }
  
  export default pageWithIntl(About)
  </code></pre>
  
  <p>And a simple Jest/Enzyme Test:</p>
  
  <pre><code>/* global it, expect, describe */
  
  import React from 'react'
  import { shallow } from 'enzyme'
  import renderer from 'react-test-renderer'
  import About from '../pages/about.js'
  
  describe('With Enzyme', () =&gt; {
    it('App shows "About"', () =&gt; {
      const about = shallow(
        &lt;About /&gt;
      )
      expect(about.find('h1').text()).toEqual('About')
    })
  })
  </code></pre>
  
  <p>The Jest test should pass but I'm getting an error:</p>
  
  <blockquote>
    <p>Method “text” is only meant to be run on a single node. 0 found
    instead.</p>
  </blockquote>
  
  <p>What am I missing?</p>
  
  <p>=== Update</p>
  
  <p>The snapshot test passes:</p>
  
  <pre><code>describe('With Snapshot Testing', () =&gt; {
    it('About shows "About"', () =&gt; {
      const component = renderer.create(&lt;About /&gt;)
      const tree = component.toJSON()
      expect(tree).toMatchSnapshot()
    })
  })
  </code></pre>
  
  <p>Is there a way to integrate the enzyme expect test inside the snapshot test? And how?</p>