Packages

ts-jest

29.4.15 · 15 Oct 2026MIT34.4M / weekRepositoryHomepagenpmAtom feed

Your version

27.1.0

5 Dec 2021Where it was published

27.1.5 is the newest release of 27.x.

In short

4 deprecated3 new2 internal

  • deprecated

    utils: deprecate mocked util function

  • deprecated

    transformers: deprecate path-mapping AST transformer

  • deprecated

    transformers: path-mapping AST transformer is deprecated and will be removed in v28.0.0. One should use an alternative one like github.com/LeDDGroup/typescript-transform-paths instead.

  • deprecated

    utils: mocked function is deprecated and will be removed in v28.0.0. The function has been integrated into jest-mock package as a part of Jest 27.4.0, see #12089. One should use the one from Jest instead

Release note

Features

  • Allow subclasses to extend processAsync and getCacheKeyAsync

  • config: support custom AST transformers written in TypeScript (#3063) (340a305), closes #2831

  • Export ts-jest public apis from index.js (#3080) (53175dd), closes #3045

Code Refactoring

  • deprecated

    utils: deprecate mocked util function

  • deprecated

    transformers: deprecate path-mapping AST transformer

DEPRECATIONS

  • deprecated

    transformers: path-mapping AST transformer is deprecated and will be removed in v28.0.0. One should use an alternative one like github.com/LeDDGroup/typescript-transform-paths instead.

  • deprecated

    utils: mocked function is deprecated and will be removed in v28.0.0. The function has been integrated into jest-mock package as a part of Jest 27.4.0, see #12089. One should use the one from Jest instead