-
Notifications
You must be signed in to change notification settings - Fork 1
Commit 592437e
authored
Build(deps-dev): Bump jest and @types/jest (#206)
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) and
[@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest).
These dependencies needed to be updated together.
Updates `jest` from 29.7.0 to 30.0.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jestjs/jest/releases">jest's
releases</a>.</em></p>
<blockquote>
<h2>30.0.2</h2>
<h2>What's Changed</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-matcher-utils]</code> Make 'deepCyclicCopyObject' safer
by setting descriptors to a null-prototype object (<a
href="https://redirect.github.com/jestjs/jest/pull/15689">#15689</a>)</li>
<li><code>[jest-util]</code> Make garbage collection protection property
writable (<a
href="https://redirect.github.com/jestjs/jest/pull/15689">#15689</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jestjs/jest/blob/main/CHANGELOG.md">https://github.com/jestjs/jest/blob/main/CHANGELOG.md</a></p>
<h2>Jest 30.0.1</h2>
<h2>What's Changed</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-resolver]</code> Implement the
<code>defaultAsyncResolver</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/15679">#15679</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-resolver]</code> Resolve builtin modules correctly (<a
href="https://redirect.github.com/jestjs/jest/pull/15683">#15683</a>)</li>
<li><code>[jest-environment-node, jest-util]</code> Avoid setting
globals cleanup protection symbol when feature is off (<a
href="https://redirect.github.com/jestjs/jest/pull/15684">#15684</a>)</li>
</ul>
<h3>Chore & Maintenance</h3>
<ul>
<li><code>[*]</code> Remove and deprecate <code>jest-repl</code> package
(<a
href="https://redirect.github.com/jestjs/jest/pull/15673">#15673</a>)</li>
<li><code>[jest-resolver]</code> Replace custom
<code>isBuiltinModule</code> with node's <code>isBuiltin</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/15685">#15685</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/vovkasm"><code>@vovkasm</code></a> made
their first contribution in <a
href="https://redirect.github.com/jestjs/jest/pull/15687">jestjs/jest#15687</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jestjs/jest/blob/main/CHANGELOG.md">https://github.com/jestjs/jest/blob/main/CHANGELOG.md</a></p>
<h2>Jest 30</h2>
<p>Today we are happy to announce the release of Jest 30. This release
features a substantial number of changes, fixes, and improvements. While
it is one of the largest major releases of Jest ever, we admit that
three years for a major release is too long. In the future, we are
aiming to make more frequent major releases to keep Jest great for the
next decade.</p>
<p>If you want to skip all the news and just get going, run <code>npm
install jest@^30.0.0</code> and follow the migration guide: <a
href="https://jestjs.io/docs/upgrading-to-jest30">Upgrading from Jest 29
to 30</a>.</p>
<p><a href="https://jestjs.io/blog/2025/06/04/jest-30">Read the full
blog post</a></p>
<h3>Features</h3>
<ul>
<li><code>[*]</code> Renamed <code>globalsCleanupMode</code> to
<code>globalsCleanup</code> and
<code>--waitNextEventLoopTurnForUnhandledRejectionEvents</code> to
<code>--waitForUnhandledRejections</code></li>
<li><code>[expect]</code> Add <code>ArrayOf</code> asymmetric matcher
for validating array elements. (<a
href="https://redirect.github.com/jestjs/jest/pull/15567">#15567</a>)</li>
<li><code>[babel-jest]</code> Add option <code>excludeJestPreset</code>
to allow opting out of <code>babel-preset-jest</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/15164">#15164</a>)</li>
<li><code>[expect]</code> Revert <a
href="https://redirect.github.com/jestjs/jest/pull/15038">#15038</a> to
fix
<code>expect(fn).toHaveBeenCalledWith(expect.objectContaining(...))</code>
when there are multiple calls (<a
href="https://redirect.github.com/jestjs/jest/pull/15508">#15508</a>)</li>
<li><code>[jest-circus, jest-cli, jest-config]</code> Add
<code>waitNextEventLoopTurnForUnhandledRejectionEvents</code> flag to
minimise performance impact of correct detection of unhandled promise
rejections introduced in <a
href="https://redirect.github.com/jestjs/jest/pull/14315">#14315</a> (<a
href="https://redirect.github.com/jestjs/jest/pull/14681">#14681</a>)</li>
<li><code>[jest-circus]</code> Add a <code>waitBeforeRetry</code> option
to <code>jest.retryTimes</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/14738">#14738</a>)</li>
<li><code>[jest-circus]</code> Add a <code>retryImmediately</code>
option to <code>jest.retryTimes</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/14696">#14696</a>)</li>
<li><code>[jest-circus, jest-jasmine2]</code> Allow
<code>setupFilesAfterEnv</code> to export an async function (<a
href="https://redirect.github.com/jestjs/jest/issues/10962">#10962</a>)</li>
<li><code>[jest-circus, jest-test-result]</code> Add
<code>startedAt</code> timestamp in <code>TestCaseResultObject</code>
within <code>onTestCaseResult</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/15145">#15145</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jestjs/jest/blob/main/CHANGELOG.md">jest's
changelog</a>.</em></p>
<blockquote>
<h2>30.0.2</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-matcher-utils]</code> Make 'deepCyclicCopyObject' safer
by setting descriptors to a null-prototype object (<a
href="https://redirect.github.com/jestjs/jest/pull/15689">#15689</a>)</li>
<li><code>[jest-util]</code> Make garbage collection protection property
writable (<a
href="https://redirect.github.com/jestjs/jest/pull/15689">#15689</a>)</li>
</ul>
<h2>30.0.1</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-resolver]</code> Implement the
<code>defaultAsyncResolver</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/15679">#15679</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-resolver]</code> Resolve builtin modules correctly (<a
href="https://redirect.github.com/jestjs/jest/pull/15683">#15683</a>)</li>
<li><code>[jest-environment-node, jest-util]</code> Avoid setting
globals cleanup protection symbol when feature is off (<a
href="https://redirect.github.com/jestjs/jest/pull/15684">#15684</a>)</li>
</ul>
<h3>Chore & Maintenance</h3>
<ul>
<li><code>[*]</code> Remove and deprecate <code>jest-repl</code> package
(<a
href="https://redirect.github.com/jestjs/jest/pull/15673">#15673</a>)</li>
<li><code>[jest-resolver]</code> Replace custom
<code>isBuiltinModule</code> with node's <code>isBuiltin</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/15685">#15685</a>)</li>
</ul>
<h2>30.0.0</h2>
<h3>Features</h3>
<ul>
<li><code>[*]</code> Renamed <code>globalsCleanupMode</code> to
<code>globalsCleanup</code> and
<code>--waitNextEventLoopTurnForUnhandledRejectionEvents</code> to
<code>--waitForUnhandledRejections</code></li>
<li><code>[expect]</code> Add <code>ArrayOf</code> asymmetric matcher
for validating array elements. (<a
href="https://redirect.github.com/jestjs/jest/pull/15567">#15567</a>)</li>
<li><code>[babel-jest]</code> Add option <code>excludeJestPreset</code>
to allow opting out of <code>babel-preset-jest</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/15164">#15164</a>)</li>
<li><code>[expect]</code> Revert <a
href="https://redirect.github.com/jestjs/jest/pull/15038">#15038</a> to
fix
<code>expect(fn).toHaveBeenCalledWith(expect.objectContaining(...))</code>
when there are multiple calls (<a
href="https://redirect.github.com/jestjs/jest/pull/15508">#15508</a>)</li>
<li><code>[jest-circus, jest-cli, jest-config]</code> Add
<code>waitNextEventLoopTurnForUnhandledRejectionEvents</code> flag to
minimise performance impact of correct detection of unhandled promise
rejections introduced in <a
href="https://redirect.github.com/jestjs/jest/pull/14315">#14315</a> (<a
href="https://redirect.github.com/jestjs/jest/pull/14681">#14681</a>)</li>
<li><code>[jest-circus]</code> Add a <code>waitBeforeRetry</code> option
to <code>jest.retryTimes</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/14738">#14738</a>)</li>
<li><code>[jest-circus]</code> Add a <code>retryImmediately</code>
option to <code>jest.retryTimes</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/14696">#14696</a>)</li>
<li><code>[jest-circus, jest-jasmine2]</code> Allow
<code>setupFilesAfterEnv</code> to export an async function (<a
href="https://redirect.github.com/jestjs/jest/issues/10962">#10962</a>)</li>
<li><code>[jest-circus, jest-test-result]</code> Add
<code>startedAt</code> timestamp in <code>TestCaseResultObject</code>
within <code>onTestCaseResult</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/15145">#15145</a>)</li>
<li><code>[jest-cli]</code> Export <code>buildArgv</code> (<a
href="https://redirect.github.com/facebook/jest/pull/15310">#15310</a>)</li>
<li><code>[jest-config]</code> [<strong>BREAKING</strong>] Add
<code>mts</code> and <code>cts</code> to default
<code>moduleFileExtensions</code> config (<a
href="https://redirect.github.com/facebook/jest/pull/14369">#14369</a>)</li>
<li><code>[jest-config]</code> [<strong>BREAKING</strong>] Update
<code>testMatch</code> and <code>testRegex</code> default option for
supporting <code>mjs</code>, <code>cjs</code>, <code>mts</code>, and
<code>cts</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/14584">#14584</a>)</li>
<li><code>[jest-config]</code> Loads config file from provided path in
<code>package.json</code> (<a
href="https://redirect.github.com/facebook/jest/pull/14044">#14044</a>)</li>
<li><code>[jest-config]</code> Allow loading
<code>jest.config.cts</code> files (<a
href="https://redirect.github.com/facebook/jest/pull/14070">#14070</a>)</li>
<li><code>[jest-config]</code> Show <code>rootDir</code> in error
message when a <code>preset</code> fails to load (<a
href="https://redirect.github.com/jestjs/jest/pull/15194">#15194</a>)</li>
<li><code>[jest-config]</code> Support loading TS config files using
<code>esbuild-register</code> via docblock loader (<a
href="https://redirect.github.com/jestjs/jest/pull/15190">#15190</a>)</li>
<li><code>[jest-config]</code> Allow passing TS config loader options
via docblock comment (<a
href="https://redirect.github.com/jestjs/jest/pull/15234">#15234</a>)</li>
<li><code>[jest-config]</code> If Node is running with type stripping
enabled, do not require a TS loader (<a
href="https://redirect.github.com/jestjs/jest/pull/15480">#15480</a>)</li>
<li><code>[@jest/core]</code> Group together open handles with the same
stack trace (<a
href="https://redirect.github.com/jestjs/jest/pull/13417">#13417</a>,
& <a
href="https://redirect.github.com/jestjs/jest/pull/14789">#14789</a>)</li>
<li><code>[@jest/core]</code> Add <code>perfStats</code> to surface test
setup overhead (<a
href="https://redirect.github.com/jestjs/jest/pull/14622">#14622</a>)</li>
<li><code>[@jest/core]</code> [<strong>BREAKING</strong>] Changed
<code>--filter</code> to accept an object with shape <code>{ filtered:
Array<string> }</code> to match <a
href="https://jestjs.io/docs/cli#--filterfile">documentation</a> (<a
href="https://redirect.github.com/jestjs/jest/pull/13319">#13319</a>)</li>
<li><code>[@jest/core]</code> Support <code>--outputFile</code> option
for <a
href="https://jestjs.io/docs/cli#--listtests"><code>--listTests</code></a>
(<a
href="https://redirect.github.com/jestjs/jest/pull/14980">#14980</a>)</li>
<li><code>[@jest/core]</code> Stringify Errors properly with
<code>--json</code> flag (<a
href="https://redirect.github.com/jestjs/jest/pull/15329">#15329</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jestjs/jest/commit/393acbfac31f64bb38dff23c89224797caded83c"><code>393acbf</code></a>
v30.0.2</li>
<li><a
href="https://github.com/jestjs/jest/commit/5ce865b4060189fe74cd486544816c079194a0f7"><code>5ce865b</code></a>
v30.0.1</li>
<li><a
href="https://github.com/jestjs/jest/commit/469f665c2d3bea4a55a194ceebae88724b7202cd"><code>469f665</code></a>
v30.0.0</li>
<li><a
href="https://github.com/jestjs/jest/commit/ce14203d9156f830a8e24a6e3e8205f670a72a40"><code>ce14203</code></a>
v30.0.0-rc.1</li>
<li><a
href="https://github.com/jestjs/jest/commit/0ab14ba85dc7bb4fa72c062c64b039d779d77d26"><code>0ab14ba</code></a>
v30.0.0-beta.9</li>
<li><a
href="https://github.com/jestjs/jest/commit/ac334c0cdf04ead9999f0964567d81672d116d42"><code>ac334c0</code></a>
v30.0.0-beta.8</li>
<li><a
href="https://github.com/jestjs/jest/commit/7c799e579e8fd839b7521c6de6b55127795634dc"><code>7c799e5</code></a>
v30.0.0-beta.7</li>
<li><a
href="https://github.com/jestjs/jest/commit/4f964497dc21c06ce4d54f1349e299a9f6773d52"><code>4f96449</code></a>
v30.0.0-beta.6</li>
<li><a
href="https://github.com/jestjs/jest/commit/286dc4a3986e354e212ce193501895c206284952"><code>286dc4a</code></a>
v30.0.0-beta.5</li>
<li><a
href="https://github.com/jestjs/jest/commit/76632c6ec3f56708ec5781158972a295d0cc9332"><code>76632c6</code></a>
chore: drop node 23 (<a
href="https://github.com/jestjs/jest/tree/HEAD/packages/jest/issues/15640">#15640</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/jestjs/jest/commits/v30.0.2/packages/jest">compare
view</a></li>
</ul>
</details>
<br />
Updates `@types/jest` from 29.5.14 to 30.0.0
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent bb9b3ef commit 592437eCopy full SHA for 592437e
File tree
Expand file treeCollapse file tree
2 files changed
+3298
-2144
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+3298
-2144
lines changed
0 commit comments