Packages

@jest/environment

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

Upgrading @jest/environment From 24.4.0 to 24.9.0

6 releases in betweenevery note read

Other targets from 24.4.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

  5. 24.6.0

    1 Apr 201917 new · 14 fixes
    • New

      : Improve report when matcher fails, part 13

    • New

      @jest/core: Filter API pre-filter setup hook

    • New

      jest-snapshot: Improve report when matcher fails, part 14

    • New

      @jest/reporter: Display todo and skip test descriptions when verbose is true

  6. 24.5.0

    12 Mar 20191 new
    • New

      jest-haste-map: Expose throwOnModuleCollision via config.haste

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