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
this solution works well for me:
moduleNameMapper: { '^Screens(.*)': '/src/screens/$1', '^Components(.*)': '/src/components/$1', '^Assets(.*)': '/src/assets/$1', '^Services/(.*)': '/src/services/$1', },