Changelog
27.5.0
[expect]
Add asymmetric matcher expect.closeTo
(#12243)[jest-mock]
Added mockFn.mock.lastCall
to retrieve last argument (#12285)[expect]
Add a fix for .toHaveProperty('')
(#12251)[jest-each, @jest/globals]
Allow passing ReadonlyArray
type of a table to describe.each
and test.each
(#12297)[@jest/globals]
Add missing options
argument to jest.doMock
typing (#12292)[jest-environment-node]
Add atob
and btoa
(#12269)[jest-matcher-utils]
Correct diff for expected asymmetric matchers (#12264)[jest-message-util]
Fix .getTopFrame()
(and toMatchInlineSnapshot()
) with mjs
files (#12277)[*]
Update graceful-fs
to ^4.2.9
(#11749)[jest-resolve]
perf: skip error creation on not found stat
calls (#11749)Changelog
27.4.6
[jest-environment-node]
Add AbortSignal
(#12157)[jest-environment-node]
Add Missing node global performance
(#12002)[jest-runtime]
Handle missing mocked
property (#12213)[@jest/transform]
Update dependency package pirates
to 4.0.4 (#12002)jest-config
perf: only register ts-node once when loading TS config files (#12160)Changelog
27.4.0
[expect]
Enhancing the toHaveProperty
matcher to support array selection (#12092)[jest-core]
Add support for testResultsProcessor
written in ESM (#12006)[jest-diff, pretty-format]
Add compareKeys
option for custom sorting of object keys (#11992)[jest-mock]
Add ts-jest
mock util functions (#12089)[expect]
Allow again expect.Matchers
generic with single value (#11986)[jest-circus, jest-jasmine2]
Avoid false concurrent test failures due to unhandled promise rejections (#11987)[jest-config]
Add missing slash
dependency to package.json
(#12080)[jest-core]
Incorrect detection of open ZLIB handles (#12022)[jest-diff]
Break dependency cycle (#10818)[jest-environment-jsdom]
Add @types/jsdom
dependency (#11999)[jest-environment-jsdom]
Do not reset the global.document too early on teardown (#11871)[jest-transform]
Improve error and warning messages (#11998)[jest-worker]
Pass execArgv
correctly to worker_threads
worker (#12069)Changelog
27.2.5
[jest-config]
Warn when multiple Jest configs are located (#11922)[expect]
Pass matcher context to asymmetric matchers (#11926 & #11930)[expect]
Improve TypeScript types (#11931)[expect]
Improve typings of toThrow()
and toThrowError()
matchers (#11929)[jest-cli]
Improve --help
printout by removing defunct --browser
option (#11914)[jest-haste-map]
Use distinct cache paths for different values of computeDependencies
(#11916)[@jest/reporters]
Do not buffer console.log
s when using verbose reporter (#11054)