Packages

@jest/environment

30.5.2 · 18 Sep 2026MIT80.2M / weekRepositoryHomepagenpmAtom feed

Upgrading @jest/environment From 24.6.0 to 24.9.0

4 releases in betweenevery note read

Other targets from 24.6.0Latest30.5.2

Before you upgrade

Tick each one off as you go
  • Breaking24.7.0

Release by release

  1. 24.9.0

    16 Aug 201926 new · 11 fixes
    • New

      expect: Highlight substring differences when matcher fails, part 1

    • New

      expect: Highlight substring differences when matcher fails, part 2

    • New

      expect: Improve report when mock-spy matcher fails, part 1

    • New

      expect: Improve report when mock-spy matcher fails, part 2

  2. 24.8.0

    5 May 201912 new · 12 fixes
    • New

      jest-circus: Bind to Circus events via an optional event handler on any custom env

    • New

      expect: Improve report when matcher fails, part 15

    • New

      jest-cli: Update --forceExit and "did not exit for one second" message colors

    • New

      expect: Improve report when matcher fails, part 16

  3. 24.7.1

    4 Apr 20192 fixes
    • Fixed

      @jest/config: Normalize testSequencer to its absolute path

    • Fixed

      @jest/console: Print to stderr when calling console.error, console.warn or console.assert using the jest-runtime CLI

  4. 24.7.0

    Migration needed3 Apr 20193 new · 1 fix
    • Breaking

      expect: Remove repetition of matcherName and options in matchers

    • New

      @jest/core, @jest/test-sequencer: Move testSequencer to individual package @jest/test-sequencer

    • New

      @jest/core, jest-cli, jest-config: Add option testSequencer allow user use custom sequencer.

    • New

      expect: Add negative equality tests for iterables

    • Fixed

      jest-haste-map: Resolve fs watcher EMFILE error

25 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.