title: Enzyme : mount does not work as expected
body: <p>I am trying to write my first test using <code>Enzyme</code> and <code>Jest</code>. I end up converting the wrapper to Html() string always. And then assert like below i.e. directly on html string using <code>indexOf</code> merhod - instead of directly using the enzyme apis on the  mount wrapper object to find dom objects.</p>
  
  <pre><code>  const wrapper = mount(&lt;Admin title="Mock Admin Client"  restClient={ jest.fn().mockImplementation(()=&gt;{
                                      return {
                                                  total : 1,
                                                  data: 
                                                      [{
                                                          id: "0300b4cf-4888-4e73-b4e1-25cf4686e05c",
                                                          name: "cat2",
                                                          displaySequence: 121
                                                      }]
                                              }
                                  })}&gt;
                                      &lt;Resource options={{ label: 'Categories' }} name="category" list={CategoryList}/&gt;                                    
                                  &lt;/Admin&gt;
                               );
                    console.log(wrapper)           ;
          expect(wrapper.children().html().indexOf("cat2") &gt; 0).toBeTruthy();
          expect(wrapper.children().html().indexOf("0300b4cf-4888-4e73-b4e1-25cf4686e05c") &gt; 0).toBeTruthy();
          expect(wrapper.children().html().indexOf("121") &gt; 0).toBeTruthy();
  </code></pre>
  
  <p>console.log(wrapper)    always prints this :</p>
  
  <blockquote>
    <p>console.log containers__tests__\Categories.test.tsx:20
        ReactWrapper { length: 1 }</p>
  </blockquote>
  
  <p>Also, if I try to use <code>shallow</code> or <code>render</code> - that never works. i.e. <code>.html()</code> does not output anything on those functions. Only it works on <code>mount</code></p>
  
  <p>Any help on this is highly appreciated.</p>