Packages

jest

30.5.2 · 18 Sep 2026MIT62.9M / weekRepositoryHomepagenpmAtom feed

Upgrading jest From 21.2.1 to 22.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 21.2.1Latest30.5.2
  1. 21.2.1yours
  2. 22.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0
  • Breaking22.0.0

Release by release

  1. 22.0.0

    Migration needed18 Dec 201730 new · 31 fixes
    • Breaking

      jest-worker: Remove debug and inspect flags from the arguments sent to the child

    • Breaking

      expect: Replace identity equality with Object.is in toBe matcher

    • Breaking

      jest-environment-jsdom: Upgrade to JSDOM@11

    • Breaking

      jest-environment-*: Add Async Test Environment APIs, dispose is now teardown

18 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.