Jest v27.4.0 Release Notes
-
๐ Features
- ๐
[expect]
Enhancing thetoHaveProperty
matcher to support array selection (#12092) - โ
[jest-core]
Add support fortestResultsProcessor
written in ESM (#12006) [jest-diff, pretty-format]
AddcompareKeys
option for custom sorting of object keys (#11992)- ๐คก
[jest-mock]
Addts-jest
mock util functions (#12089)
๐ Fixes
[expect]
Allow againexpect.Matchers
generic with single value (#11986)- โ
[jest-circus, jest-jasmine2]
Avoid false concurrent test failures due to unhandled promise rejections (#11987) - ๐ฆ
[jest-config]
Add missingslash
dependency topackage.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]
PassexecArgv
correctly toworker_threads
worker (#12069)
๐ง Chore & Maintenance
- ๐