jest-worker
Advanced tools
Changelog
27.5.1
[jest-config]
Support comments in JSON config file (#12316)[pretty-format]
Expose ConvertAnsi
plugin (#12308)[expect]
Add type definitions for asymmetric closeTo
matcher (#12304)[jest-cli]
Load binary via exported API (#12315)[jest-config]
Replace jsonlint
with parse-json
(#12316)[jest-repl]
Make module importable (#12311 & #12315)[*]
Avoid anonymous default exports (#12313)Changelog
27.5.0
[expect]
Add asymmetric matcher expect.closeTo
(#12243)[jest-mock]
Added mockFn.mock.lastCall
to retrieve last argument (#12285)[expect]
Add a fix for .toHaveProperty('')
(#12251)[jest-each, @jest/globals]
Allow passing ReadonlyArray
type of a table to describe.each
and test.each
(#12297)[@jest/globals]
Add missing options
argument to jest.doMock
typing (#12292)[jest-environment-node]
Add atob
and btoa
(#12269)[jest-matcher-utils]
Correct diff for expected asymmetric matchers (#12264)[jest-message-util]
Fix .getTopFrame()
(and toMatchInlineSnapshot()
) with mjs
files (#12277)[*]
Update graceful-fs
to ^4.2.9
(#11749)[jest-resolve]
perf: skip error creation on not found stat
calls (#11749)Changelog
27.4.6
[jest-environment-node]
Add AbortSignal
(#12157)[jest-environment-node]
Add Missing node global performance
(#12002)[jest-runtime]
Handle missing mocked
property (#12213)[@jest/transform]
Update dependency package pirates
to 4.0.4 (#12002)jest-config
perf: only register ts-node once when loading TS config files (#12160)Changelog
27.4.0
[expect]
Enhancing the toHaveProperty
matcher to support array selection (#12092)[jest-core]
Add support for testResultsProcessor
written in ESM (#12006)[jest-diff, pretty-format]
Add compareKeys
option for custom sorting of object keys (#11992)[jest-mock]
Add ts-jest
mock util functions (#12089)[expect]
Allow again expect.Matchers
generic with single value (#11986)[jest-circus, jest-jasmine2]
Avoid false concurrent test failures due to unhandled promise rejections (#11987)[jest-config]
Add missing slash
dependency to package.json
(#12080)[jest-core]
Incorrect detection of open ZLIB handles (#12022)[jest-diff]
Break dependency cycle (#10818)[jest-environment-jsdom]
Add @types/jsdom
dependency (#11999)[jest-environment-jsdom]
Do not reset the global.document too early on teardown (#11871)[jest-transform]
Improve error and warning messages (#11998)[jest-worker]
Pass execArgv
correctly to worker_threads
worker (#12069)