Packages

@jest/types

30.5.1 · 1 Sep 2026MIT190.3M / weekRepositoryHomepagenpmAtom feed

Your version

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

  1. 26.x
  2. 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

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

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

  5. 26.0.1

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

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

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

  9. 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)

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

  11. 25.2.6

    2 Apr 2020

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

  12. 25.2.5

    2 Apr 2020
    • @jest/console: Fix typescript<@3.8 compatibility in published types

  13. 25.2.3

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

  14. 25.2.1

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

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

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

  17. 25.0.0

    22 Aug 2019
  18. 24.x
  19. 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

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

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

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

  23. 24.5.0

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

  24. 24.3.0

    7 Mar 2019
    • removed

      expect: Remove duck typing and obsolete browser support code when comparing DOM nodes and use DOM-Level-3 API instead

    • security

      jest-cli: Fix prototype pollution vulnerability in dependency

    • : Improve report when matcher fails, part 10