jest-cli v27.5.0 Release Notes
-
๐ Features
[expect]
Add asymmetric matcherexpect.closeTo
(#12243)- ๐คก
[jest-mock]
AddedmockFn.mock.lastCall
to retrieve last argument (#12285)
๐ Fixes
[expect]
Add a fix for.toHaveProperty('')
(#12251)- โ
[jest-each, @jest/globals]
Allow passingReadonlyArray
type of a table todescribe.each
andtest.each
(#12297) [@jest/globals]
Add missingoptions
argument tojest.doMock
typing (#12292)[jest-environment-node]
Addatob
andbtoa
(#12269)[jest-matcher-utils]
Correct diff for expected asymmetric matchers (#12264)[jest-message-util]
Fix.getTopFrame()
(andtoMatchInlineSnapshot()
) withmjs
files (#12277)
๐ง Chore & Maintenance
- โก๏ธ
[*]
Updategraceful-fs
to^4.2.9
(#11749)
๐ Performance
[jest-resolve]
perf: skip error creation on not foundstat
calls (#11749)