Skip to content

Commit

Permalink
docs: Jest 29 blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Aug 25, 2022
1 parent 05f6217 commit 34d2547
Showing 1 changed file with 30 additions and 0 deletions.
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! 🃏

0 comments on commit 34d2547

Please sign in to comment.