In my jest tests I'd like to verify the class names of the rendered elements. How can I do this best? When I do `TestUtils.renderIntoDocument(...)`, I get the react element in the dom. And then what? How can I access the CSS class from there?
In my jest tests I'd like to verify the class names of the rendered elements. How can I do this best?
When I do
TestUtils.renderIntoDocument(...), I get the react element in the dom. And then what? How can I access the CSS class from there?