From fdb44565b8b9ecb5070db75aa4a9da12f621c356 Mon Sep 17 00:00:00 2001 From: Tim Seckinger Date: Sun, 14 Mar 2021 17:51:27 +0100 Subject: [PATCH] minor amends --- website/blog/2021-03-11-jest-27.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/website/blog/2021-03-11-jest-27.md b/website/blog/2021-03-11-jest-27.md index 7286f25d748a..7f84dfc59c29 100644 --- a/website/blog/2021-03-11-jest-27.md +++ b/website/blog/2021-03-11-jest-27.md @@ -29,8 +29,6 @@ In other news, the [native ESM support](https://github.com/facebook/jest/issues/ We've also merged [a PR](https://github.com/facebook/jest/pull/9351) to be able to deal with test files symlinked into the test directory, a feature much wanted by users of [Bazel](https://bazel.build/). - - [Another PR](https://github.com/facebook/jest/issues/9504) enabled [`transform`s](/docs/configuration#transform-objectstring-pathtotransformer--pathtotransformer-object) to be asynchronous, a requirement to support transpilation through tools such as [esbuild](https://esbuild.github.io/), [Snowpack](https://www.snowpack.dev/), and [Vite](https://vitejs.dev/) effectively. ## Flipping defaults @@ -71,7 +69,7 @@ We removed some long-deprecated functions: - `jest.resetModuleRegistry` (use `jest.resetModules` instead) - `jest.runTimersToTime` (use `jest.advanceTimersByTime` instead) -A lot of Jest's packages have been migrated to use ESM exports, so if you consume e.g. `pretty-format` directly, you may need to adjust your import to a `default` import. +A lot of Jest's packages have been migrated to use ESM-style exports (although they are still shipped as CommonJS), so if you consume e.g. `pretty-format` directly, you may need to adjust your import to a `default` import. We dropped support for Node 13 — but Jest always supports the _Current_ and all _LTS_ [Node versions](https://nodejs.org/en/about/releases/).