Releases: jestjs/jest
Releases · jestjs/jest
14.1.0
14.0.2
14.0.1
14.0.0
- 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,toBeCloseTowere rewritten. - Rewrite of Jest's reporters.
- Experimental react-native support.
- Removed Jasmine 1 support from Jest.
- Transform caching improvements.
13.2.0
13.1.0
- Added
testglobal function as an alias forit. - Added
coveragePathIgnorePatternsto the config. - Fixed printing of "JSX objects" in snapshots.
- Fixes for
--verboseoption and top levelitcalls. - 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
- Added duration of individual tests in verbose mode.
- Added a
browserconfig option to properly resolve npm packages with a browser field inpackage.jsonif you are writing tests for client side apps - Added
jest-repl. - Split up
jest-cliintojest-runtimeandjest-config. - Added a notification plugin that shows a test run notification using
--notify. - Refactored
TestRunnerintoSearchSourceand 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
12.1.0
- Jest is now also published in the
jestpackage on npm. - Added
testRegexto match for tests outside of specific folders. Deprecated bothtestDirectoryNameandtestFileExtensions. itcan now return a Promise for async testing.pitwas deprecated.- Added
jest-resolveas a standalone package based on the Facebook module resolution algorithm. - Added
jest-changed-filesas a standalone package to detect changed files in a git or hg repo. - Added
--setupTestFrameworkFileto 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.filenameand removed the invalidmodule.__filenamefield. - Further improved the
lastCalledWithandtoBeCalledWithcustom 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.