Packages

jest-util

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

Upgrading jest-util From 17.0.2 to 18.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 17.0.2Latest30.5.1
The note of 18.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 17.0.2yours
  2. 18.0.0target
?
changes to make
0
advisories fixed
6
new
5
fixes

Release by release

  1. 18.0.0

    15 Dec 20166 new · 5 fixes
    • new

      Added expect.any, expect.anything, expect.objectContaining, expect.arrayContaining, expect.stringMatching.

    • new

      Added jest-editor-support for vscode and Nuclide integration.

    • new

      Added expect.assertions(number) which will ensure that a specified amount of assertions is made in one test.

    • new

      Added .toMatchSnapshot(?string) feature to give snapshots a name.

19 other lines we could not sort, mostly version bumps
  • The testResultsProcessor function is now required to return the modified results.

    18.0.0
  • Removed pit and mockImpl. Use it or mockImplementation instead.

    18.0.0
  • pretty-format is now merged into Jest.

    18.0.0
  • require('v8') now works properly in a test context.

    18.0.0
  • Jest now clears the entire scrollback in watch mode.

    18.0.0
  • Properly resolve snapshotSerializers, setupFiles, transform, testRunner and testResultsProcessor instead of using path.resolve.

    18.0.0
  • --testResultsProcessor is now exposed through the cli.

    18.0.0
  • Renamed --jsonOutputFile to --outputFile.

    18.0.0
  • The Jest website is now auto-deployed when merging into master.

    18.0.0
  • Updated testRegex to include test.js and spec.js files.

    18.0.0