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
● Test suite failed to run
error TS5098: Option 'customConditions' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'.
Version
29.2.5
Steps to reproduce
use a tsconfig with
Expected behavior
ts-jest transpiles .ts files
Actual behavior
Debug log
Additional context
https://github.com/kulshekhar/ts-jest/blob/main/src/legacy/compiler/ts-compiler.ts#L155 sets
moduleResolution: "node"
but it doesn't reset customConditions which are not supported with the new moduleResolution value. AddingcustomConditions: undefined
works well.Environment
The text was updated successfully, but these errors were encountered: