You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation under "ESM Support -> Support .mts extension" there is mentioning of a custom resolver under a certain Github link. This link points to a missing resource, also the enclosing directory is missing. I also couldn't find any other example how to set this up.
Since I'm using Typescript, my general question would be is there a way to set up mts/mjs resolution or is this just not possible currently?
In general, ts-jest can’t change file resolution so the only way to achieve what you need is creating a custom resolver in your project, similar to the example one.
We are happy to have a resolver included in this project too so anyone in need can also use that by specifying it in Jest config
Version
29.2.5
Steps to reproduce
In the documentation under "ESM Support -> Support .mts extension" there is mentioning of a custom resolver under a certain Github link. This link points to a missing resource, also the enclosing directory is missing. I also couldn't find any other example how to set this up.
Since I'm using Typescript, my general question would be is there a way to set up mts/mjs resolution or is this just not possible currently?
Expected behavior
Documentation is up to date.
Actual behavior
Documentation is outdated.
Debug log
See above.
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: