jest-util
Advanced tools
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)Changelog
27.1.0
[jest-haste-map]
Use watchman suffix-set option for faster file indexing. (#11784)[jest-cli]
Adds a new config options snapshotFormat
which offers a way to override any of the formatting settings which come with pretty-format. (#11654)[jest-reporters]
Expose the getSummary
util (#11695).[jest-resolver]
Support node:
prefix when importing Node core modules (#11331)[jest-each]
Relaxed the validation to allow multibyte characters in headings (#11575)[jest-environment-jsdom]
Add support for userAgent
option (#11773)[jest-environment-node]
Add Event
and EventTarget
to node global environment. (#11727)[jest-mock]
Fix spyOn
to use Object.prototype.hasOwnProperty
(#11721)[jest-resolver]
Add dependency on jest-haste-map
(#11759)[jest-types]
Compat with @types/node
v16 (#11645)[docs]
Correct expects.assertions
documentation by adding async/await for asynchronous function.Changelog
27.0.2
[jest-circus]
Add some APIs to make it easier to build your own test runner[jest-reporters]
Expose the getResultHeader
util (#11460)[jest-resolver]
Export resolve*
utils for different Jest modules (#11466)[@jest/test-result]
Export Test
, TestEvents
and TestFileEvent
(#11466)[jest-circus]
Add missing slash
dependency (#11465)[jest-circus, @jest/test-sequencer]
Remove dependency on jest-runner
(#11466)[jest-config]
Resolve config.runner
to absolute path (#11465)[jest-config]
Make sure to support functions as config (#11475)[jest-core]
Do not warn about DNSCHANNEL
handles when using the --detectOpenHandles
option (#11470)[jest-runner]
Remove dependency on jest-config
(#11466)[jest-worker]
Loosen engine requirement to >= 10.13.0
(#11451)