I am currently working on a Typescript project that has unit tests defined utilising Jest. The project uses Yarn 2 for execution but the tests have a dependancy which requires utilisation of moduleNameMapper in the jest.config.js.
As Yarn 2 works without any installs in node_modules, how can I use moduleNameMapper to point to a dependancy? Is there a new mapping required or some new Jest specific functionality?