I am looking to be able to use webpack aliases to resolve imports when using jest, and optimally, reference the webpack.aliases to avoid duplication.
webpack.aliases
Je
None of the prescribed answers worked for me.
Was able to solve with the following pattern:
Jest version 25+
moduleNameMapper: { '^Screens(.*)': '/src/screens/$1', '^Components(.*)': '/src/components/$1', '^Assets(.*)': '/src/assets/$1', '^Services/(.*)': '/src/services/$1', },