Answer by Matt Dalzell for Material-UI withStyles components wont render when...
Since you are wrapping the component in an HOC, you'll need to dive it in order to access your inner component beyond the HOC. This can be set when calling createShallow: beforeEach(() => {...
View ArticleMaterial-UI withStyles components wont render when testing with Enzyme + Jest
I am trying to test a component. The test worked without styling, but now that I've styled it with Material-UI, the test no longer works. It seems the component, if styled with Material-UI will only...
View Article