@jest/expect
Advanced tools
Changelog
28.1.3
[jest-leak-detector]
Use native FinalizationRegistry
when it exists to get rid of external C dependency (#12973)[jest-changed-files]
Fix a lock-up after repeated invocations (#12757)[@jest/expect-utils]
Fix deep equality of ImmutableJS OrderedSets (#12977)[jest-mock]
Add index signature support for spyOn
types (#13013, #13020)[jest-snapshot]
Fix indentation of awaited inline snapshots (#12986)Changelog
28.1.1
[jest]
Expose Config
type (#12848)[@jest/reporters]
Improve GitHubActionsReporter
s annotation format (#12826)[@jest/types]
Infer argument types passed to test
and describe
callback functions from each
tables (#12885, #12905)[@jest/expect-utils]
Fix deep equality of ImmutableJS OrderedMaps (#12899)[jest-docblock]
Handle multiline comments in parseWithComments (#12845)[jest-mock]
Improve spyOn
error messages (#12901)[jest-runtime]
Correctly report V8 coverage with resetModules: true
(#12912)[jest-worker]
Make JestWorkerFarm
helper type to include methods of worker module that take more than one argument (#12839)Changelog
28.1.0
[jest-circus]
Add failing
test modifier that inverts the behavior of tests (#12610)[jest-environment-node, jest-environment-jsdom]
Allow specifying customExportConditions
(#12774)[expect]
Adjust typings of lastCalledWith
, nthCalledWith
, toBeCalledWith
matchers to allow a case there a mock was called with no arguments (#12807)[@jest/expect-utils]
Fix deep equality of ImmutableJS Lists (#12763)[jest-core]
Do not collect SIGNREQUEST
as open handles (#12789)Changelog
28.0.3
[jest-config]
Normalize reporters
option defined in presets (#12769)[@jest/reporters]
Fix trailing slash in matching coverageThreshold
key (#12714)[jest-resolve]
Fix (experimental) ESM module mocking for re-exports (#12766)[@jest/transform]
Throw better error if an invalid return value if encountered (#12764)[docs]
Fix typo in --shard
CLI docs (#12761)