Stephen M
Stephen M
+1, was hoping options were being passed through. would allow more extensibility
@leandroruel try converting your ESM dependencies to CJS for Jest: ``` npx esbuild [YOUR_DEP] --bundle --platform=node --outfile=vendor/[YOUR_DEP].js ``` Then update your `jest.config.js`: ``` moduleNameMapper: { '^[YOUR_DEP]$': '/vendor/[YOUR_DEP]', ... } ```
@ahstro I created one today, feel free to [use it](https://gist.github.com/twobit/cfb7f159b4419d3900b5063da1c4c2f2)