Commit be0e66a
authored
Build(deps-dev): bump jest and @types/jest (#128)
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.5
<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.5</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-config]</code> Allow <code>testMatch</code> to take a
string value</li>
<li><code>[jest-worker]</code> Let <code>workerIdleMemoryLimit</code>
accept 0 to always restart worker child processes</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Fix <code>bigint</code> error (<a
href="https://redirect.github.com/jestjs/jest/pull/15702">#15702</a>)</li>
</ul>
<h2>30.0.4</h2>
<h3>Features</h3>
<ul>
<li><code>[expect]</code> The <code>Inverse</code> type is now exported
(<a
href="https://redirect.github.com/jestjs/jest/pull/15714">#15714</a>)</li>
<li><code>[expect]</code> feat: support <code>async functions</code> in
<code>toBe</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/15704">#15704</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest]</code> jest --onlyFailures --listTests now correctly
lists only failed tests (<a
href="https://github.com/jestjs/jest/tree/HEAD/packages/jest/issues/15700">#15700</a>)</li>
<li><code>[jest-snapshot]</code> Handle line endings in snapshots (<a
href="https://redirect.github.com/jestjs/jest/pull/15708">#15708</a>)</li>
</ul>
<h2>30.0.3</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-config]</code> Fix ESM TS config loading in a CJS
project (<a
href="https://redirect.github.com/jestjs/jest/pull/15694">#15694</a>)</li>
<li><code>[jest-core]</code> jest --onlyFailures --listTests now
correctly lists only failed tests(<a
href="https://redirect.github.com/jestjs/jest/pull/15700">#15700</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><code>[jest-diff]</code> Show non-printable control characters to
diffs (<a
href="https://redirect.github.com/facebook/jest/pull/15696">#15696</a>)</li>
</ul>
<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>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jestjs/jest/commit/22236cf58b66039f81893537c90dee290bab427f"><code>22236cf</code></a>
v30.0.5</li>
<li><a
href="https://github.com/jestjs/jest/commit/f4296d2bc85c1405f84ddf613a25d0bc3766b7e5"><code>f4296d2</code></a>
v30.0.4</li>
<li><a
href="https://github.com/jestjs/jest/commit/d4a6c94daf4f6e63c949f2d0ed907aeaee840d2f"><code>d4a6c94</code></a>
v30.0.3</li>
<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>Additional commits viewable in <a
href="https://github.com/jestjs/jest/commits/v30.0.5/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>2 files changed
+7381
-4744
lines changed
0 commit comments