Stuck testing your connected component? Make sure you export your 'plain' component as well!
Does this sound familiar to you?
You have a container component and you write a test for it:
import ShoppingCartContainer from './ShoppingCart';
test('it works', () => {
const wrapper = shallow( );
// test something
});
And then when you run it, the first thing you see is this error:
Invariant violation: Could not