Skip to content

Releases: jestjs/jest

14.0.0

16 Aug 10:37
Compare
Choose a tag to compare
  • 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.
  • Experimental react-native support.
  • Removed Jasmine 1 support from Jest.
  • Transform caching improvements.

13.2.0

16 Aug 10:37
Compare
Choose a tag to compare
  • Snapshot bugfixes.
  • Timer bugfixes.

13.1.0

16 Aug 10:37
Compare
Choose a tag to compare
  • Added test global function as an alias for it.
  • Added coveragePathIgnorePatterns to the config.
  • Fixed printing of "JSX objects" in snapshots.
  • Fixes for --verbose option and top level it calls.
  • Extended the node environment with more globals.
  • testcheck now needs to be required explicitly through require('jest-check').
  • Added jest.deepUnmock.
  • Fail test suite if it does not contain any tests.

13.0.0

16 Aug 10:37
Compare
Choose a tag to compare
  • 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.
  • Split up jest-cli into jest-runtime and jest-config.
  • Added a notification plugin that shows a test run notification using --notify.
  • Refactored TestRunner into SearchSource and improved the "no tests found" message.
  • Added jest.isMockFunction(jest.fn()) to test for mock functions.
  • Improved test reporter printing and added a test failure summary when running many tests.
    • Add support for property testing via testcheck-js.
  • Added a webpack tutorial.
  • Added support for virtual mocks through jest.mock('Module', implementation, {virtual: true}).
  • Added snapshot functionality through toMatchSnapshot().
  • Redesigned website.

12.1.1

16 Aug 10:37
Compare
Choose a tag to compare
  • Windows stability fixes.
  • Mock module resolution fixes.
  • Remove test files from code coverage.

12.1.0

16 Aug 10:37
Compare
Choose a tag to compare
  • 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.
  • Added jest-resolve as a standalone package based on the Facebook module resolution algorithm.
  • Added jest-changed-files as a standalone package to detect changed files in a git or hg repo.
  • Added --setupTestFrameworkFile to cli.
  • Added support for coverage thresholds. See https://jestjs.io/docs/en/configuration#coveragethreshold-object.
  • Updated to jsdom 9.0.
  • Updated and improved stack trace reporting.
  • Added module.filename and removed the invalid module.__filename field.
  • Further improved the lastCalledWith and toBeCalledWith custom matchers. They now print the most recent calls.
  • Fixed jest-haste-map on continuous integration systems.
  • Fixes for hg/git integration.
  • Added a re-try for the watchman crawler.

12.0.2

16 Aug 10:37
Compare
Choose a tag to compare
  • Bug fixes when running a single test file and for scoped package names.

12.0.1

16 Aug 10:37
Compare
Choose a tag to compare
  • Added custom equality matchers for Map/Set and iterables.
  • Bug fixes

0.8.2

16 Aug 10:37
Compare
Choose a tag to compare
  • Performance improvements.
  • jest now uses chalk instead of its own colors implementation.

0.8.1

16 Aug 10:37
Compare
Choose a tag to compare
  • --bail now reports with the proper error code.
  • Fixed loading of the setup file when using jasmine2.
  • Updated jsdom to 7.2.0.