I have a React component which contains some other components that depend on access to a Redux store etc., which cause issues when doing a full Enzyme mount. Let\'s say a st
In my case, I was unable to make the mock work.
An it turned out to be case-sensitivity issue:
Module Filename: Autosuggest.js
Autosuggest.js
How i was mocking it: jest.mock('./AutoSuggest', ...); <-- wrong cases
jest.mock('./AutoSuggest', ...);