Is there a way to get the actual DOM node so I can the query it with the Dom api as opposed to being required to use enzyme\'s api, it\'s just for edge cases where for examp
If you create a DOM using jsdom, something like this:
import jsdom from 'jsdom';
const doc = jsdom.jsdom('');
global.document = doc;
global.window = doc.defaultView;
Then you can use enzyme's mount() to render whatever you wish to test.
You can then assert against the style you are looking for:
expect(wrapper).to.have.style("display", "none");