v27.5.0
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)
New Contributors
- @markjm made their first contribution in #11749
- @benjamingr made their first contribution in #12266
- @aduh95 made their first contribution in #12269
- @piranna made their first contribution in #12272
- @od-c0d3r made their first contribution in #12234
- @davidnormo made their first contribution in #12264
- @mshima made their first contribution in #12277
- @Cambuchi made their first contribution in #12246
- @vladsholokhov made their first contribution in #12185
- @robdy made their first contribution in #12254
- @Michael-M-Judd made their first contribution in #12212
Full Changelog: v27.4.7...v27.5.0