For a component structured as so: ```html <div className="my-class"> ... </div> ``` This test fails: ```javascript assert.ok(drill(subject).has('div', m.hasClass('my-class'))) ``` But this test passes: ```javascript assert.ok(drill(subject).has(MyComponent, m.hasClass('my-class'))) ```
For a component structured as so:
This test fails:
But this test passes: