Packages

@jest/fake-timers

30.5.2 · 18 Sep 2026MIT78.4M / weekRepositoryHomepagenpmAtom feed

Upgrading @jest/fake-timers From 27.0.3 to 27.5.1

17 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 27.0.3Latest30.5.2
  1. 27.0.3yours
  2. 16 releases
  3. 27.5.1target

Before you upgrade

Tick each one off as you go
  • deprecated27.2.5

Release by release

  1. 27.5.1

    8 Feb 20223 new · 3 fixes
    • new

      jest-config: Support comments in JSON config file

    • new

      pretty-format: Expose ConvertAnsi plugin

    • new

      expect: Add type definitions for asymmetric closeTo matcher

    • fixed

      jest-cli: Load binary via exported API

    • fixed

      jest-config: Replace jsonlint with parse-json

    • fixed

      jest-repl: Make module importable (#12311 & #12315)

  2. 27.5.0

    5 Feb 20226 new · 3 fixes
    • new

      expect: Add asymmetric matcher expect.closeTo

    • new

      jest-mock: Added mockFn.mock.lastCall to retrieve last argument

    • new

      expect: Add a fix for .toHaveProperty('')

    • new

      @jest/globals: Add missing options argument to jest.doMock typing

  3. 27.4.6

    4 Jan 20223 new · 1 fix
    • new

      jest-environment-node: Add AbortSignal

    • new

      jest-environment-node: Add Missing node global performance

    • new

      jest-config perf: only register ts-node once when loading TS config files

    • fixed

      jest-runtime: Handle missing mocked property

  4. 27.4.2

    30 Nov 20211 new
    • new

      jest-worker: Add additional execArgv to filter

  5. 27.4.1

    30 Nov 20211 fix
    • fixed

      jest-worker: Filter execArgv correctly

  6. 27.4.0

    29 Nov 20216 new · 7 fixes
    • new

      expect: Enhancing the toHaveProperty matcher to support array selection

    • new

      jest-core: Add support for testResultsProcessor written in ESM

    • new

      jest-diff, pretty-format: Add compareKeys option for custom sorting of object keys

    • new

      jest-mock: Add ts-jest mock util functions

  7. 27.3.1

    19 Oct 20212 fixes
    • fixed

      expect: Make expect extension properties configurable

    • fixed

      expect: Fix .any() checks on primitive wrapper classes

  8. 27.3.0

    17 Oct 20212 new · 3 fixes
    • new

      jest-config: Add testEnvironmentOptions.html to apply to jsdom input

    • new

      jest-resolver: Support default export (.) in exports field if main is missing

    • fixed

      expect: Tweak and improve types

    • fixed

      jest-runtime: Ensure absolute paths can be resolved within test modules

    • fixed

      jest-runtime: Fix instanceof for ModernFakeTimers and LegacyFakeTimers methods

12 internal lines (docs, tests, tooling) left out.