发布

  • fix(testing): enforce commonjs module for ts-jest (#30681)

    frostbyte_neo 发布于 2025-04-11 14:47:34 +00:00

    Current Behavior

    The @nx/jest graph plugin and the @nx/jest:jest executor correctly
    force the moduleResolution: node10 to be used by ts-node (used by
    ts-jest), but don't force using module: commonjs, which can result
    in issues due to incompatible module/moduleResolution pair.

    Expected Behavior

    The @nx/jest graph plugin and the @nx/jest:jest executor should
    force the moduleResolution: node10 and module: commonjs compiler
    options to be used by ts-node.

    Related Issue(s)

    Fixes #

    下载附件