Releases: jestjs/jest
Releases · jestjs/jest
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
,toBeCloseTo
were 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
test
global function as an alias forit
. - Added
coveragePathIgnorePatterns
to the config. - Fixed printing of "JSX objects" in snapshots.
- Fixes for
--verbose
option and top levelit
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
- Added duration of individual tests in verbose mode.
- Added a
browser
config option to properly resolve npm packages with a browser field inpackage.json
if you are writing tests for client side apps - Added
jest-repl
. - Split up
jest-cli
intojest-runtime
andjest-config
. - Added a notification plugin that shows a test run notification using
--notify
. - Refactored
TestRunner
intoSearchSource
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
12.1.0
- Jest is now also published in the
jest
package on npm. - Added
testRegex
to match for tests outside of specific folders. Deprecated bothtestDirectoryName
andtestFileExtensions
. 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 invalidmodule.__filename
field. - Further improved the
lastCalledWith
andtoBeCalledWith
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.