Packages

babel-jest

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

Your version

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

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

  3. 24.1.0

    5 Feb 2019
    • : Pass default resolver into custom resolvers

    • : global{Setup,Teardown} use default export with es modules

    • jest-runtime: Better error messages when the jest environment is used after teardown by async code

  4. 24.0.0

    25 Jan 2019
    • breaking

      jest-each: Add primitive pretty printing for interpolated titles

    • breaking

      jest-diff: Support diffing numbers and booleans instead of returning null for different ones

    • breaking

      jest-diff: Replace diff with diff-sequences package

  5. 23.x
  6. 23.6.0

    10 Sep 2018
    • jest-cli: Add changedSince to allowed watch mode configs

    • babel-jest: Add support for babel.config.js added in Babel 7.0.0

    • jest-resolve: Add support for an experimental mapper option (Watchman crawler only) that adds virtual files to the Haste map

  7. 23.4.2

    27 Jul 2018
    • jest-changed-files: Limit git and hg commands to specified roots

    • jest-circus: Fix retryTimes so errors are reset before re-running

    • babel-jest: Make getCacheKey() take into account createTransformer options

  8. 23.4.0

    10 Jul 2018
    • jest-haste-map: Add computeDependencies flag to avoid opening files if not needed

    • jest-runtime: Support require.resolve.paths

    • jest-runtime: Support paths option for require.resolve

  9. 23.2.0

    25 Jun 2018
    • jest-each: Add support for keyPaths in test titles

    • jest-cli: Add jest --init option that generates a basic configuration file with a short description for each option

    • jest.retryTimes: Add jest.retryTimes() option that allows failed tests to be retried n-times when using jest-circus.

  10. 23.0.1

    27 May 2018
    • pretty-format: Serialize inverse asymmetric matchers correctly

  11. 23.0.0

    24 May 2018
    • breaking

      jest-snapshot: Concatenate name of test, optional snapshot name and count

    • breaking

      jest-jasmine2: Adds error throwing and descriptive errors to it/ test for invalid arguments. [jest-circus] Adds error throwing and descriptive errors to it/ test for invalid arguments

    • breaking

      jest-mock: Include tracked call results in serialized mock

  12. 22.x
  13. 22.4.3 – 22.4.42 releases without a noteShow each
  14. 22.4.1

    22 Feb 2018
    • removed

      babel-jest: Remove retainLines argument to babel.

    • jest-haste-map: Parallelize Watchman calls in crawler

    • jest-editor-support: Update TypeScript definitions

  15. 22.4.0

    20 Feb 2018
    • deprecated

      jest-runtime: Deprecate mapCoverage option.

    • jest-haste-map: Overhauls how Watchman crawler works fixing Windows

    • expect: Allow matching of Errors against plain objects

  16. 22.2.2

    9 Feb 2018
    • babel-jest: Revert "Remove retainLines from babel-jest"

    • jest-docblock: Support multiple of the same @pragma.

    • jest-worker: Assign a unique id for each worker and pass it to the child process. It will be available via process.env.JEST_WORKER_ID

  17. 22.2.0

    7 Feb 2018
    • jest-runner: Move test summary to after coverage report

    • jest-cli: Added --notifyMode to specify when to be notified.

    • diff-sequences: New package compares items in two sequences to find a longest common subsequence.

  18. 22.1.0

    15 Jan 2018
    • jest-cli: Make Jest exit without an error when no tests are found in the case of --lastCommit, --findRelatedTests, or --onlyChanged options having been passed to the CLI

    • jest-cli: Add interactive snapshot mode

    • jest-cli: Use import-local to support global Jest installations.

  19. 22.0.6

    11 Jan 2018
  20. 22.0.4

    22 Dec 2017
    • jest-cli: New line before quitting watch mode.

    • babel-jest: moduleFileExtensions not passed to babel transformer.

  21. 22.0.2 – 22.0.32 releases with no change for you1 maintenance, 1 without a noteShow each
    • 22.0.319 Dec 2017no note
    • 22.0.219 Dec 2017docs, tests or tooling
  22. 22.0.1

    18 Dec 2017
    • jest-runtime: Fix error for test files providing coverage.

    • jest-config: Add forceCoverageMatch to allow collecting coverage from ignored files.

  23. 22.0.0

    18 Dec 2017
    • removed

      jest-worker: Remove debug and inspect flags from the arguments sent to the child

    • breaking

      expect: Replace identity equality with Object.is in toBe matcher

    • breaking

      jest-environment-jsdom: Upgrade to JSDOM@11

  24. 21.x
  25. 21.2.0

    26 Sep 2017
    • 🃏 Change license from BSD+Patents to MIT.

    • Allow eslint-plugin to recognize more disabled tests

    • Add babel-plugin for object spread syntax to babel-preset-jest

  26. 21.0.2

    8 Sep 2017
    • Take precedence of NODE_PATH when resolving node_modules directories

    • Fix race condition with --coverage and babel-jest identical file contents edge case

    • Add extra parameter --runTestsByPath.

  27. 21.0.0

    4 Sep 2017
    • deprecated

      jest-haste-map: Deprecate functional ignorePattern and use it in cache key

    • Add --changedFilesWithAncestor

    • Add --findRelatedFiles

  28. 20.x
  29. 20.0.3

    17 May 2017
    • Fix reporters 'default' setting.

    • Fix to make Jest fail when the coverage threshold not met.

  30. 20.0.2

    17 May 2017
  31. 20.0.1

    11 May 2017
    • Add ansi-regex to pretty-format dependencies

    • Fix <rootDir> replacement in testMatch and moduleDirectories

    • Fix expect.hasAssertions() to throw when passed arguments

  32. 20.0.0

    6 May 2017
    • breaking

      Forked Jasmine 2.5 into Jest's own test runner and rewrote large parts of Jasmine.

    • breaking

      Jest does not write new snapshots by default on CI.

    • breaking

      Moved the typescript parser from jest-editor-support into a separate jest-test-typescript-parser package.

  33. 19.x
  34. 19.0.0

    21 Feb 2017
    • breaking

      Added a version for snapshots.

    • breaking

      Removed the mocksPattern configuration option, it never worked correctly.

    • breaking

      Renamed testPathDirs to roots to avoid confusion when configuring Jest.

  35. 18.x
  36. 18.0.0

    15 Dec 2016
    • The testResultsProcessor function is now required to return the modified results.

    • Removed pit and mockImpl. Use it or mockImplementation instead.

    • Fixed re-running tests when --bail is used together with --watch.

  37. 17.x
  38. 17.0.2

    15 Nov 2016
    • Fixed performance regression in module resolution.

  39. 17.0.0

    8 Nov 2016
    • Added expect.extend.

    • Properly resolve modules with platform extensions on react-native.

    • Added support for custom snapshots serializers.

  40. 16.x
  41. 16.0.0

    3 Oct 2016
    • removed

      Removed react-native special case in Jest's configuration.

    • Previously failed tests are now always run first.

    • A new concurrent reporter shows currently running tests, a test summary, a progress bar and estimated remaining time if possible.

  42. 15.x
  43. 15.0.0

    31 Aug 2016
    • Jest by default now also recognizes files ending in .spec.js and .test.js as test files.

    • Completely replaced most Jasmine matchers with new Jest matchers.

    • Rewrote Jest's CLI output for test failures and summaries.

  44. 14.x
  45. 14.1.0

    1 Aug 2016
    • Changed Jest's default cache directory.

    • Fixed jest-react-native for react 15.3.0.

    • Updated react and react-native example to use react-test-renderer.

  46. 14.0.2

    29 Jul 2016
    • babel-jest bugfix.

  47. 14.0.1

    29 Jul 2016
    • babel-jest can now be used to compose a transformer.

    • Updated snapshot instructions to run jest -u or npm test -- -u.

    • Fixed config cli option to enable JSON objects as configuration.

  48. 14.0.0

    27 Jul 2016
    • Official release of snapshot tests.

    • Started to replace Jasmine matchers with Jest matchers: toBe, toBeFalsy, toBeTruthy, toBeNaN, toBe{Greater,Less}Than{,OrEqual}, toBeNull, toBeDefined, toBeUndefined, toContain, toMatch, toBeCloseTo were rewritten.

    • Rewrite of Jest's reporters.

  49. 13.x
  50. 13.2.1 – 13.2.22 releases without a noteShow each
  51. 13.0.0

    22 Jun 2016
    • Added duration of individual tests in verbose mode.

    • Added a browser config option to properly resolve npm packages with a browser field in package.json if you are writing tests for client side apps

    • Added jest-repl.

  52. 12.x
  53. 12.1.0

    20 May 2016
    • Jest is now also published in the jest package on npm.

    • Added testRegex to match for tests outside of specific folders. Deprecated both testDirectoryName and testFileExtensions.

    • it can now return a Promise for async testing. pit was deprecated.

  54. 12.0.2

    28 Apr 2016
    • Bug fixes when running a single test file and for scoped package names.

  55. 12.0.1

    27 Apr 2016
    • Added custom equality matchers for Map/Set and iterables.

    • Bug fixes

  56. 12.0.0

    27 Apr 2016
  57. 11.x
  58. 11.0.0 – 11.0.23 releases without a noteShow each
  59. 10.x
  60. 10.0.2

    11 Apr 2016