Skip to content

Commit

Permalink
minor amends
Browse files Browse the repository at this point in the history
  • Loading branch information
jeysal committed Mar 14, 2021
1 parent 0231869 commit fdb4456
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions website/blog/2021-03-11-jest-27.md
Expand Up @@ -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/).

<!-- TODO pending merge https://github.com/facebook/jest/issues/9504 -->

[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
Expand Down Expand Up @@ -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/).

Expand Down

0 comments on commit fdb4456

Please sign in to comment.