jest-snapshot
Advanced tools
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)Changelog
27.2.0
[jest-resolver, jest-runtime]
Pass conditions
to custom resolvers to enable them to implement support for package.json exports
field (#11859)[jest-runtime]
Allow custom envs to specify exportConditions
which is passed together with Jest's own conditions to custom resolvers (#11863)