Packages

jest-util

30.5.1 · 1 Sep 2026MIT156.2M / weekRepositoryHomepagenpmAtom feed

Your version

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

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

  3. 21.x
  4. 21.2.1

    27 Sep 2017
    • Fix watchAll not running tests on save

    • Add missing escape sequences to ConvertAnsi plugin

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

  6. 21.1.0

    14 Sep 2017
    • (minor) Use ES module exports

    • Allow chaining mockClear and mockReset

    • Call jest-diff and pretty-format more precisely in toHaveProperty matcher

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

  8. 21.0.0

    4 Sep 2017
    • deprecated

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

    • Add --changedFilesWithAncestor

    • Add --findRelatedFiles

  9. 20.x
  10. 20.0.3

    17 May 2017
    • Fix reporters 'default' setting.

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

  11. 20.0.2

    17 May 2017
  12. 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

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

  14. 19.x
  15. 19.0.2

    23 Feb 2017
  16. 19.0.1

    22 Feb 2017
    • Fix infinite loop when using --watch with --coverage.

    • Fixed watchman config option.

    • Fixed a bug in the jest-editor-support static analysis.

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

  18. 18.x
  19. 18.1.0

    29 Dec 2016
    • Fixed console.log and fake timer behavior in node 7.3.

    • Updated istanbul-api.

    • Updated jest-diff equality error message.

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

  21. 17.x
  22. 17.0.2

    15 Nov 2016
    • Fixed performance regression in module resolution.

  23. 17.0.0

    8 Nov 2016
    • Added expect.extend.

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

    • Added support for custom snapshots serializers.

  24. 16.x
  25. 16.0.2

    20 Oct 2016
    • Symbols are now properly mocked when using jest-mock.

    • toHaveBeenCalledWith() works without arguments again.

    • Newlines in snapshots are now normalized across different operating systems.

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

  27. 15.x
  28. 15.1.1

    2 Sep 2016
    • Fixed issues with test paths that include hyphens on Windows.

    • Fixed testEnvironment resolution.

    • Updated watch file name pattern input.

  29. 15.1.0

    1 Sep 2016
    • Pretty printer updates for React and global window objects.

    • jest-runtime overwrites automocking from configuration files.

    • Improvements for watch mode on Windows.

  30. 15.0.1

    1 Sep 2016
    • Updated toThrow and toThrowMatchers and aliased them to the same matcher.

    • Improvements for watch mode.

    • Fixed Symbol reassignment in tests would break Jest's matchers.

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

  32. 14.x
  33. 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.

  34. 13.x
  35. 13.1.1 – 13.2.24 releases without a noteShow each
  36. 13.1.0

    5 Jul 2016
    • Added test global function as an alias for it.

    • Added coveragePathIgnorePatterns to the config.

    • Fixed printing of "JSX objects" in snapshots.

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

  38. 12.x
  39. 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.

  40. 12.0.2

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

  41. 12.0.1

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

    • Bug fixes

  42. 12.0.0

    27 Apr 2016
  43. 11.x
  44. 11.0.0 – 11.0.23 releases without a noteShow each
  45. 10.x
  46. 10.0.0 – 10.0.34 releases without a noteShow each
  47. 9.x
  48. 9.0.3

    23 Mar 2016
  49. 1.x
  50. 1.0.0

    17 Mar 2016
  51. 0.0.x
  52. 0.0.1 – 0.0.33 releases without a noteShow each