jest-cli v27.1.0 Release Notes
-
🔋 Features
[jest-haste-map]
Use watchman suffix-set option for faster file indexing. (#11784)- 📦
[jest-cli]
Adds a new config optionssnapshotFormat
which offers a way to override any of the formatting settings which come with pretty-format. (#11654) [jest-reporters]
Expose thegetSummary
util (#11695).- 👍
[jest-resolver]
Supportnode:
prefix when importing Node core modules (#11331)
🛠 Fixes
[jest-each]
Relaxed the validation to allow multibyte characters in headings (#11575)- 👍
[jest-environment-jsdom]
Add support foruserAgent
option (#11773) [jest-environment-node]
AddEvent
andEventTarget
to node global environment. (#11727)- 🤡
[jest-mock]
FixspyOn
to useObject.prototype.hasOwnProperty
(#11721) [jest-resolver]
Add dependency onjest-haste-map
(#11759)[jest-types]
Compat with@types/node
v16 (#11645)
🚧 Chore & Maintenance
- 📚
[docs]
Correctexpects.assertions
documentation by adding async/await for asynchronous function.