File: migration.md

package info (click to toggle)
node-ts-jest 29.1.1%2B~cs0.2.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,408 kB
  • sloc: javascript: 2,573; makefile: 19
file content (26 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
id: migration
title: 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 tab
npx ts-jest config:migrate jest.config.js
```

```Yarn tab
yarn ts-jest config:migrate jest.config.js
```

_If you're using `jest` config property of `package.json`:_

```npm tab
npx ts-jest config:migrate package.json
```

```Yarn tab
yarn ts-jest config:migrate package.json
```