Skip to main content
Version: 27.0

Migration from <=23.10

You can use the config:migrate tool of ts-jest CLI if you're coming from an older version to help you migrate your Jest configuration.

If you're using jest.config.js:

NPM

npx ts-jest config:migrate jest.config.js

Yarn

yarn ts-jest config:migrate jest.config.js

If you're using jest config property of package.json:

NPM

npx ts-jest config:migrate package.json

Yarn

yarn ts-jest config:migrate package.json