title: Enzyme test: TypeError: expect(...).find is not a function
body: <p>Why is <code>.find</code> not a function in the code context below?</p>
  
  <pre><code>import React from 'react';
  import { shallow } from 'enzyme';
  import toJson from 'enzyme-to-json';
  import { AuthorizedRoutesJest } from './AuthorizedRoutes';
  
  // Components
  import {
    Main
  } from '../../components';
  
  const wrapper = shallow(&lt;AuthorizedRoutesJest /&gt;);
  
  describe('&lt;AuthorizedRoutes /&gt; component', () =&gt; {
    it('should render', () =&gt; {
      const tree = toJson(wrapper);
      expect(tree).toMatchSnapshot();
      expect(wrapper).toHaveLength(1);
    });
  
    it('should contain a Main component', () =&gt; {
      expect(wrapper).find(Main).toHaveLength(1);
    });
  });
  </code></pre>
  
  <blockquote>
    <p>Summary of all failing tests
     FAIL  client/containers/Routes/AuthorizedRoutes.test.js</p>
    
    <p>AuthorizedRoutes component › should contain a Main component</p>
    
    <p>TypeError: expect(...).find is not a function</p>
  </blockquote>