Packages

jest-mock

30.5.2 · 18 Sep 2026MIT94.8M / weekRepositoryHomepagenpmAtom feed

Upgrading jest-mock From 15.0.0 to 16.0.0

1 release in betweenevery note read

Other targets from 15.0.0Latest30.5.2
  1. 15.0.0yours
  2. 16.0.0target
1
change to make
0
advisories fixed
10
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking16.0.0

Release by release

  1. 16.0.0

    Migration needed3 Oct 201610 new · 1 fix
    • Breaking

      Removed react-native special case in Jest's configuration.

    • New

      Added it.only, it.skip, test.only, test.skip and xtest.

    • New

      Added --testNamePattern=pattern or -t <pattern> to run individual tests in test files.

    • New

      Added test.concurrent for concurrent async tests.

19 other lines we could not sort, mostly version bumps
  • Previously failed tests are now always run first.

    16.0.0
  • A new concurrent reporter shows currently running tests, a test summary, a progress bar and estimated remaining time if possible.

    16.0.0
  • Improved CLI colors.

    16.0.0
  • jest <pattern> is now case-insensitive.

    16.0.0
  • Jest now warns for duplicate mock files.

    16.0.0
  • Pressing a, o, p, q or enter while tests are running in the watch mode, the test run will be interrupted.

    16.0.0
  • --bail now works together with --watch.

    16.0.0
  • Jest now automatically considers files and tests with the .jsx extension.

    16.0.0
  • Rewrote Jest's snapshot implementation. jest-snapshot can now be more easily integrated into other test runners and used in other projects.

    16.0.0
  • This requires most snapshots to be updated when upgrading Jest.

    16.0.0

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.