Reproduces an issue with jest mocks and moduleNameMapper
Just run npm test
to see the results.
You should see a result along the lines of:
Could not locate module /path/to/repo/src/subpkg/submod.js mapped as:
/path/to/repo/src/path/to/repo/src/subpkg/submod.js.