This repository was archived by the owner on Jan 16, 2026. It is now read-only.
Commit 73fceaf
authored
Bump jest and @types/jest (#163)
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.3
<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.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>
<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>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<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><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>Additional commits viewable in <a
href="https://github.com/jestjs/jest/commits/v30.0.3/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
Lines changed: 1113 additions & 896 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments