Skip to content

Commit

Permalink
Update website/blog/2020-05-06-jest-26.md
Browse files Browse the repository at this point in the history
Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
  • Loading branch information
thymikee and SimenB authored May 2, 2020
1 parent 55f1888 commit 7bcd66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/blog/2020-05-06-jest-26.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ We are now beginning to address this shortcoming and are working on reducing Jes
With these changes combined, Jest 26 is now X MiB smaller than Jest 25.5.4 (Y → Z MiB). While this is a good start, it isn’t enough to make Jest meaningfully leaner. Since most of the changes to reduce Jest’s default setup are breaking, we want to bring the community with us as much as possible. Therefore we will make the following changes in Jest 27 and Jest 28 using a [“Tick-Tock" release process](https://en.wikipedia.org/wiki/Tick%E2%80%93tock_model):

* Jest 27 will ship with a new test runner (`jest-circus`), new fake timers with Lolex and the node.js environment by default. `jest-jasmine2`, the previous FakeTimers implementation and `jsdom` will still be bundled so users can keep using them by changing one-line each in the configuration.
* Jest 28 will remove `jast-jasmine2`, FakeTimers and `jsdom` from the default distribution of Jest. The packages will still be actively maintained as part of the Jest project and be published separately. Users will need to install these packages to use them.
* Jest 28 will remove `jest-jasmine2`, legacy FakeTimers and `jsdom` from the default distribution of Jest. The packages will still be actively maintained as part of the Jest project and be published separately. Users will need to install these packages to use them.

Upon upgrading to these major releases, Jest will guide you through the necessary changes. If you’d like to get ahead and migrate to the new architecture now you can upgrade to Jest 26 and add the following configuration options:

Expand Down

0 comments on commit 7bcd66a

Please sign in to comment.