title: Enzyme hasClass returning false is wrong
body: <p>I have the following React component:</p>
  
  <pre class="lang-js prettyprint-override"><code>const FeatureAccess = ({ value }) =&gt; {
    let liClass = `FeatureAccessList-item FeatureAccessList-item--${value}`
  
    return (
      &lt;li class={liClass}&gt;
        &lt;label for={`user_member_permission_ids_${value}`}&gt;
          &lt;input
            name='user[member_permission_ids][]'
            id={`user_member_permission_ids_${value}`}
            value={value}
          /&gt;
        &lt;/label&gt;
      &lt;/li&gt;
    )
  }
  </code></pre>
  
  <p>The idea is that the <code>li</code> element has 2 classes:</p>
  
  <pre><code>FeatureAccessList-item
  FeatureAccessList-item--${value}
  </code></pre>
  
  <p>However my test is always failing, Enzyme is no asserting it correctly for some reason:</p>
  
  <pre class="lang-js prettyprint-override"><code>// wrapper = mount(&lt;FeatureAccess {...props} /&gt;)
  
  it('should have the correct class depending on "value"', () =&gt; {
    const value = 'Spider-sense'
    wrapper.setProps({ value })
  
    // Expected: true, Received: false
    expect(wrapper.find('li').hasClass(`FeatureAccessList-item--${value}`)).toBe(true)
  })
  </code></pre>
  
  <p>It doesn't make any sense because if I log the actual result of <code>wrapper.find('li')</code> this is what I get:</p>
  
  <pre><code>  console.log spec/javascripts/Users/components/FeatureAccess.spec.jsx:46
  
      &lt;li class="FeatureAccessList-item FeatureAccessList-item--Spider-sense"&gt;
        &lt;label for="user_member_permission_ids_Spider-sense"&gt;
          &lt;input class="user_member_permission_ids " name="user[member_permission_ids][]" id="user_member_permission_ids_Spider-sense" value="Spider-sense" type="checkbox" checked={false} onChange={[Function: onChange]} /&gt;
        &lt;/label&gt;
      &lt;/li&gt;
  </code></pre>
  
  <p>The class is there! What's happening here?</p>
  
  <p>I also tried with <code>find(`.FeatureAccessList-item--${value}`).exist()</code> and it also returns false...</p>