Skip to content

Commit f95265d

Browse files
committed
docs: update Jest documentation to reflect new default SWC-based transform
1 parent 6801d01 commit f95265d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,13 @@ module.exports = require('@hover/javascript/prettier')
146146

147147
Or, for Jest in `jest.config.js`:
148148

149-
> ℹ️ If **ts-jest** is installed, it will automatically be used as the `preset`
149+
> ⚠️ Starting with
150+
> [**7.0**](https://github.com/hoverinc/hover-javascript/releases/tag/v7.0.0),
151+
> the default Jest `transform` is
152+
> [**@swc-node/jest**](https://github.com/swc-project/swc-node/#swc-nodejest).
153+
> If you want to continue using
154+
> [**ts-jest**](https://kulshekhar.github.io/ts-jest/), simpy install `ts-jest`
155+
> in your project and it will automatically be used as the `transform` instead.
150156
151157
```js
152158
const config = require('@hover/javascript/jest')

0 commit comments

Comments
 (0)