Jest doesn't support require.resolve method (issue https://github.com/jestjs/jest/issues/9543) and this affected projects if a project has moduleNameMapper configuration. I found this issue when I tried to upgrade version of fastify. I changed the implementation on an alternative solution
Jest doesn't support require.resolve method (issue https://github.com/jestjs/jest/issues/9543) and this affected projects if a project has
moduleNameMapper
configuration. I found this issue when I tried to upgrade version of fastify. I changed the implementation on an alternative solutionChecklist
npm run test
andnpm run benchmark