Packages

@jest/test-result

30.5.2 · 18 Sep 2026MIT70.6M / weekRepositoryHomepagenpmAtom feed

Your version

88 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 27.x
  2. 27.2.5

    8 Oct 2021
    • deprecated

      @jest/types: Mark deprecated configuration options as @deprecated

    • jest-config: Warn when multiple Jest configs are located

    • expect: Pass matcher context to asymmetric matchers (#11926 & #11930)

  3. 27.2.4

    29 Sep 2021
    • expect: Add equality checks for Array Buffers in expect.ToStrictEqual()

    • jest-snapshot: Correctly indent inline snapshots

  4. 27.2.3

    28 Sep 2021
    • jest-config: Parse testEnvironmentOptions if received from CLI

    • jest-reporters: Call destroy on v8-to-istanbul converters to free memory

  5. 27.2.2

    25 Sep 2021
    • jest-runtime: Correct wrapperLength value for ESM modules.

  6. 27.2.0

    13 Sep 2021
    • jest-resolver, jest-runtime: Pass conditions to custom resolvers to enable them to implement support for package.json exports field

    • jest-runtime: Allow custom envs to specify exportConditions which is passed together with Jest's own conditions to custom resolvers

    • @jest/reporters: Use async transform if available to transform files with no coverage

  7. 27.1.1

    8 Sep 2021
    • jest-runtime: Add experimental, limited (and undocumented) support for mocking ECMAScript Modules

    • jest-resolver: Support node: prefix when importing Node core modules with ESM

    • jest-types: Export the PrettyFormatOptions interface

  8. 27.1.0

    27 Aug 2021
    • jest-haste-map: Use watchman suffix-set option for faster file indexing.

    • jest-cli: Adds a new config options snapshotFormat which offers a way to override any of the formatting settings which come with pretty-format.

    • jest-reporters: Expose the getSummary util (#11695).

  9. 27.0.6

    28 Jun 2021
    • *: Publish all modules to include the build change

  10. 27.0.2

    29 May 2021
    • jest-circus: Add some APIs to make it easier to build your own test runner

    • jest-reporters: Expose the getResultHeader util

    • jest-resolver: Export resolve* utils for different Jest modules

  11. 27.0.1

    25 May 2021
    • jest-environment-jsdom: Bump version of JSDOM to avoid deprecated request package

  12. 27.0.0

    25 May 2021
    • breaking

      jest-circus: Fail tests when multiple done() calls are made

    • breaking

      jest-circus, jest-jasmine2: Fail the test instead of just warning when describe returns a value

    • breaking

      jest-config: Default to Node testing environment instead of browser (JSDOM)

  13. 26.x
  14. 26.6.2

    2 Nov 2020
    • jest-core: Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins

    • babel-plugin-jest-hoist: Preserve order of hoisted mock nodes within containing block

    • babel-plugin-jest-hoist: Hoist pure constants to support experimental JSX transform in hoisted mocks

  15. 26.6.1

    23 Oct 2020
    • jest-runtime: Support named exports from CommonJS as named ES Module imports

    • jest-validate: Add support for recursiveDenylist option as an alternative to recursiveBlacklist

    • expect: Fix objectContaining to work recursively into sub-objects

  16. 26.6.0

    19 Oct 2020
    • jest-cli, jest-config: Add support for the jest.config.ts configuration file

    • jest-config: Simplify transform RegExp

    • jest-fake-timers: Lazily instantiate mock timers

  17. 26.5.2

    6 Oct 2020
    • *: Revert usage of Escalade and rollback Yargs to v15 as it breaks Node 13

    • jest-circus: Setup globals before emitting setup, and include Jest globals in the setup payload

    • jest-mock: Fix typings for mockResolvedValue, mockResolvedValueOnce, mockRejectedValue and mockRejectedValueOnce

  18. 26.5.0

    5 Oct 2020
    • jest-circus, jest-config, jest-runtime: Add new injectGlobals config and CLI option to disable injecting global variables into the runtime

    • jest-each: Fixes .each type to always be callable

    • jest-runner: Add support for moduleLoaders with default exports

  19. 26.3.0

    10 Aug 2020
    • breaking

      jest-worker: Downgrade minimum node version to 10.13

    • jest-circus, jest-jasmine2: Include failureDetails property in test results

    • jest-each, jest-jasmine, jest-circus: Add support for .concurrent.each

  20. 26.2.0

    30 Jul 2020
    • [jest-core, jest-circus, jest-reporter, jest-runner] Added support for reporting individual test cases using jest-circus

    • [jest-config, jest-reporter, jest-runner, jest-test-sequencer] Add slowTestThreshold configuration option

    • jest-haste-map: Watchman crawler now includes dotfiles

  21. 26.1.0

    23 Jun 2020
    • jest-mock: Export Mock, MockInstance, SpyInstance types

    • jest-config: Support config files exporting (async) functions

    • jest-cli, jest-core: Add --selectProjects CLI argument to filter test suites by project name

  22. 26.0.1

    5 May 2020
    • jest-circus: Backward compatibility for deprecated DescribeBlock.tests to not break e.g. Detox reporter

  23. 26.0.0

    4 May 2020
    • breaking

      jest-environment-jsdom: Upgrade jsdom to v16

    • breaking

      jest-circus: Fail tests if a test takes a done callback and have return values

    • breaking

      jest-circus: Throw a proper error if a test / hook is defined asynchronously

  24. 25.x
  25. 25.5.0

    28 Apr 2020
    • @jest/globals: New package so Jest's globals can be explicitly imported

    • jest-core: Show coverage of sources related to tests in changed files

    • jest-runtime: Populate require.cache

  26. 25.4.0

    19 Apr 2020
    • expect: Support async functions in toThrow

    • jest-console: Add code frame to console.error and console.warn

    • jest-runtime, jest-jasmine2, jest-circus: Experimental, limited ECMAScript Modules support (#9772 & #9842)

  27. 25.3.0

    8 Apr 2020
    • babel-jest: Support passing supportsDynamicImport and supportsStaticESM

    • babel-preset-jest: Enable all syntax plugins not enabled by default that works on current version of Node

    • jest-circus: Enable writing async test event handlers

  28. 25.2.6

    2 Apr 2020

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  29. 25.2.4

    29 Mar 2020
    • jest-message-util: Check for common errors when using the wrong test environment

    • jest-circus: Fix type elision of jest-runtime imports

    • @jest/transform: Fix coverage reporter for uncovered files without transformers, reverting #9460

  30. 25.2.3

    26 Mar 2020
    • *: Verify all packages are properly downleveled for older versions of TypeScript

  31. 25.2.1

    26 Mar 2020
    • *: Downlevel TypeScript definitions files for compatibility with TS<3.8

  32. 25.2.0

    25 Mar 2020
    • breaking

      jest-haste-map: Remove mapper option

    • jest-config: Support ESM config files with .js extension (#9573).

    • jest-runtime: Override module.createRequire to return a Jest-compatible require function

  33. 25.1.0

    22 Jan 2020
    • breaking

      jest-config: Set default display name color based on runner

    • breaking

      jest-config: Support .mjs config files

    • breaking

      jest-diff: Export as ECMAScript module

  34. 25.0.0

    22 Aug 2019
  35. 24.x
  36. 24.9.0

    16 Aug 2019
    • expect: Highlight substring differences when matcher fails, part 1

    • expect: Highlight substring differences when matcher fails, part 2

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

  37. 24.8.0

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

    • expect: Improve report when matcher fails, part 15

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

  38. 24.7.1

    4 Apr 2019
    • @jest/config: Normalize testSequencer to its absolute path

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

  39. 24.7.0

    3 Apr 2019
    • removed

      expect: Remove repetition of matcherName and options in matchers

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

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

  40. 24.6.0

    1 Apr 2019
    • : Improve report when matcher fails, part 13

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

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

  41. 24.5.0

    12 Mar 2019
    • jest-haste-map: Expose throwOnModuleCollision via config.haste

  42. 24.3.0

    7 Mar 2019

    Reading the note…