Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Jest 29 blog post #13103

Merged
merged 1 commit into from
Aug 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions website/blog/2022-08-25-jest-29.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: 'Jest 29: Snapshot format changes'
author: Simen Bekkhus
authorURL: https://github.com/SimenB
authorImageURL: https://avatars.githubusercontent.com/u/1404810
---

Jest 29 is here, just a few short months after Jest 28. As mentioned in the [Jest 28 blog post](/blog/2022/04/25/jest-28#future), this version contains just a couple of breaking changes, in order to make the upgrade as smooth as possible.

<!--truncate-->

The only breaking changes that should be noticable are:

- Node versions 12 and 17 are dropped, both of which are EOL
- The `snapshotFormat` property is changed to:

```diff
+ snapshotFormat: {
+ escapeString: false,
+ printBasicPrototype: false
+ }
```

- `jest-environment-jsdom` has upgraded `jsdom` from v19 to v20

There are certain changes to the types exposed by Jest, but probably (hopefully!) nothing that should impede the upgrade. Please see the [upgrade guide](/docs/upgrading-to-jest29) for more details.

That's it for breaking changes! Hopefully this means the upgrade path from Jest 28 is smooth. Please see the [changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md#2900) for other changes.

Thanks for reading, and happy Jesting! 🃏