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
So this._ts.ModuleResolutionKind.Node10 is not working and should be this._ts.ModuleResolutionKind.NodeJs instead. This is undefined in our typescript version (4.9.5) and only contains
Version
29.2.4
Steps to reproduce
70b9530#diff-f224a564a1241776e5fb6e152ab37fdea5b11413e12bc26aed643552fcab269dR150
This change introduced the usage of
Node10
, which is not a valid typescript enum value (or at least starting with 4.9.5; I don't know when this was changed).So
this._ts.ModuleResolutionKind.Node10
is not working and should bethis._ts.ModuleResolutionKind.NodeJs
instead. This is undefined in our typescript version (4.9.5) and only containsExpected behavior
I can use ts-jest without the error
error TS6046: Argument for '--moduleResolution' option must be: 'node', 'classic', 'node16', 'nodenext'.
Actual behavior
It's not possible to use ts-jest because it uses an undefined value for the moduleResolution. So overriding bad 😅
Debug log
Test suite failed to run
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: