Packages

jest-util

30.5.1 · 1 Sep 2026MIT156.2M / weekRepositoryHomepagenpmAtom feed

Upgrading jest-util From 18.1.0 to 19.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 18.1.0Latest30.5.1
  1. 18.1.0yours
  2. 19.0.0target

Before you upgrade

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

Release by release

  1. 19.0.0

    Migration needed21 Feb 201715 new · 14 fixes
    • breaking

      Added a version for snapshots.

    • breaking

      Removed the mocksPattern configuration option, it never worked correctly.

    • breaking

      Renamed testPathDirs to roots to avoid confusion when configuring Jest.

    • breaking

      Updated printing of React elements to cause fewer changes when props change.

7 other lines we could not sort, mostly version bumps
  • Improved babel-jest plugin: babel is loaded lazily, istanbul comments are only added when coverage is used.

    19.0.0
  • Improved error for invalid transform config.

    19.0.0
  • Improved moduleNameMapper to not overwrite mocks when many patterns map to the same file.

    19.0.0
  • Improved printing of skipped tests in verbose mode.

    19.0.0
  • Improved resolution code in jest-resolve.

    19.0.0
  • Improved to only show patch marks in assertion errors when the comparison results in large objects.

    19.0.0
  • Rewritten watch mode for instant feedback, better code quality and to build new features on top of it (#2362).

    19.0.0