Features
[jest-circus]
Add awaitBeforeRetry
option tojest.retryTimes
(#14738)[jest-circus, jest-jasmine2]
AllowsetupFilesAfterEnv
to export an async function (#10962)[jest-config]
Loads config file from provided path inpackage.json
(#14044)[jest-config]
Allow loadingjest.config.cts
files (#14070)[@jest/core]
Group together open handles with the same stack trace (#13417, & #14789)[@jest/core]
[BREAKING] Changed--filter
to accept an object with shape{ filtered: Array<string> }
to match documentation (#13319)[@jest/environment-jsdom-abstract]
Introduce new package which abstracts over thejsdom
environment, allowing usage of custom versions of JSDOM (#14717)[jest-environment-node]
Update jest environment with dispose symbolsSymbol
(#14888 & #14909)[jest-mock]
Add support for the Explicit Resource Management proposal to use theusing
keyword withjest.spyOn(object, methodName)
(#14895)[jest-runtime]
Supportimport.meta.filename
andimport.meta.dirname
(available from Node 20.11)[jest-circus]
Replace recursivemakeTestResults
implementation with iterative one (#14760)[jest-circus]
Omitexpect.hasAssertions()
errors if a test already has errors (#14866)[jest-cli]
[BREAKING] Validate CLI flags that require arguments receives them (#14783)[jest-config]
SupporttestTimeout
in project config (#14697)[jest-config]
SupportcoverageReporters
in project config (#14697)[jest-config]
Allowreporters
in project config (#14768)[pretty-format]
[BREAKING] PrintArrayBuffer
andDataView
correctly (#14290)
Performance
[jest-haste-map]
Only spawn one process to check forwatchman
installation (#14826)
Chore & Maintenance
[*]
[BREAKING] Upgrade toglob@10
(#14509)[*]
UseTypeError
overError
where appropriate (#14799)[jest-schemas]
Upgrade@sinclair/typebox
(#14775)[docs]
Append toNODE_OPTIONS
, not overwrite (#14730)[docs]
Updated.toHaveBeenCalled()
documentation to correctly reflect its functionality (#14842)
New Contributors
- @rafaelrabelos made their first contribution in #14044
- @someone635 made their first contribution in #14730
- @faizanu94 made their first contribution in #14625
- @casey-lentz made their first contribution in #14763
- @WillianAgostini made their first contribution in #14738
- @jeremiah-snee-openx made their first contribution in #14768
- @ginabethrussell made their first contribution in #14747
- @vkml made their first contribution in #14749
- @DerTimonius made their first contribution in #14070
- @JimminiKin made their first contribution in #14830
- @arescrimson made their first contribution in #14847
- @notaphplover made their first contribution in #14888
- @bensternthal made their first contribution in #14904
- @phryneas made their first contribution in #14895
Full Changelog: v30.0.0-alpha.2...v30.0.0-alpha.3