how to select element text with react+enzyme : <p>Just what it says. Some example code:</p>

<pre><code>let wrapper = shallow(&lt;div&gt;&lt;button class='btn btn-primary'&gt;OK&lt;/button&gt;&lt;/div&gt;);

const b = wrapper.find('.btn'); 

expect(b.text()).to.be.eql('OK'); // fails,
</code></pre>

<p>Also the <code>html</code> method returns the contents of the element but also the element itself plus all the attributes, e.g. it gives <code>&lt;button class='btn btn-primary'&gt;OK&lt;/button&gt;</code>. So I guess, worst case, I can call <code>html</code> and regex it, but...</p>

<p>Is there a way to just get the contents of the element, so I can assert on it. </p>
