From f95265da9101882da86f3f69a73c27571ee8a08e Mon Sep 17 00:00:00 2001 From: Jamie Rolfs Date: Mon, 27 Feb 2023 14:21:04 -0800 Subject: [PATCH] docs: update Jest documentation to reflect new default SWC-based transform --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7687e8a9..d5e7add8 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,13 @@ module.exports = require('@hover/javascript/prettier') Or, for Jest in `jest.config.js`: -> ℹ️ If **ts-jest** is installed, it will automatically be used as the `preset` +> ⚠️ Starting with +> [**7.0**](https://github.com/hoverinc/hover-javascript/releases/tag/v7.0.0), +> the default Jest `transform` is +> [**@swc-node/jest**](https://github.com/swc-project/swc-node/#swc-nodejest). +> If you want to continue using +> [**ts-jest**](https://kulshekhar.github.io/ts-jest/), simpy install `ts-jest` +> in your project and it will automatically be used as the `transform` instead. ```js const config = require('@hover/javascript/jest')