Skip to content

chore(deps-dev): bump jest and @types/jest - #122

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-b0ec9e4250
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-b0ec9e4250

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Bumps jest and @types/jest. These dependencies needed to be updated together.
Updates jest from 29.7.0 to 30.5.2

Release notes

Sourced from jest's releases.

v30.5.2

Features

  • [@jest/transform] Strip TypeScript types with Node when no transformer claims a .ts, .mts or .cts file (#16421)

Fixes

  • [jest-core, jest-haste-map, jest-transform] Keep require('../package.json') external when bundling, so jest --version and the transform and haste-map cache keys report the released version instead of the previous one (#16422)
  • [jest-each] Escape a table row's keys before building the $variable interpolation RegExp, so a column name such as count(*) no longer fails the whole table with Invalid regular expression, and a . or | in a column name is matched literally (#16345)
  • [@jest/source-map] Resolve absolute Windows paths in a source map's sources and sourceRoot again, instead of appending them to the transformed file's directory (#16439)

New Contributors

Full Changelog: jestjs/jest@v30.5.1...v30.5.2

v30.5.1

Fixes

  • [jest-config] Don't warn about global-only options in the config that supplies the global config - the root config a project resolves to, or the first entry of --projects when no root config is passed (#16411)
  • [jest-config, jest-types] Stop accepting reporters, coverageReporters, workerIdleMemoryLimit, cwd and runnerOptions in a project config - they were silently ignored, and now warn like the other global-only options (#16411)
  • [jest-config, jest-validate] Warn about maxWorkers and coverageThreshold in a project config instead of dropping them without a word (#16411)
  • [jest-resolve] Match moduleNameMapper patterns against the specifier as written again (reverting #16390) (#16417)
  • [jest-runtime] Resolve package imports specifiers like #dep under ESM again (#16413)

Chore & Maintenance

  • [jest-util] Name the testEnvironmentOptions.globalsCleanup option and link the docs from the JEST-01 deprecation warning, and document the option's modes (#16404)

New Contributors

Full Changelog: jestjs/jest@v30.5.0...v30.5.1

v30.5.0

On a personal note: King Harald V of Norway passed away this morning. He ascended the throne 35 years ago, two months before I was born. This release is dedicated to his memory. Hvil i fred 🇳🇴


This is a big release. It touches jest-runtime, jest-resolve and jest-haste-map in many places, and with this many changes there might be regressions 😬. If your suite behaves differently after upgrading, please open an issue.

Highlights

whenCalledWith

Mock functions can now configure return values per argument list, contributed by @​timkindberg (#16053):

const fn = jest.fn();
fn.whenCalledWith('apple').mockReturnValue('red');
</tr></table> 

... (truncated)

Changelog

Sourced from jest's changelog.

30.5.2

Features

  • [@jest/transform] Strip TypeScript types with Node when no transformer claims a .ts, .mts or .cts file (#16421)

Fixes

  • [jest-core, jest-haste-map, jest-transform] Keep require('../package.json') external when bundling, so jest --version and the transform and haste-map cache keys report the released version instead of the previous one (#16422)
  • [jest-each] Escape a table row's keys before building the $variable interpolation RegExp, so a column name such as count(*) no longer fails the whole table with Invalid regular expression, and a . or | in a column name is matched literally (#16345)
  • [@jest/source-map] Resolve absolute Windows paths in a source map's sources and sourceRoot again, instead of appending them to the transformed file's directory (#16439)

30.5.1

Fixes

  • [jest-config] Don't warn about global-only options in the config that supplies the global config - the root config a project resolves to, or the first entry of --projects when no root config is passed (#16411)
  • [jest-config, jest-types] Stop accepting reporters, coverageReporters, workerIdleMemoryLimit, cwd and runnerOptions in a project config - they were silently ignored, and now warn like the other global-only options (#16411)
  • [jest-config, jest-validate] Warn about maxWorkers and coverageThreshold in a project config instead of dropping them without a word (#16411)
  • [jest-resolve] Match moduleNameMapper patterns against the specifier as written again (reverting #16390) (#16417)
  • [jest-runtime] Resolve package imports specifiers like #dep under ESM again (#16413)

Chore & Maintenance

  • [jest-util] Name the testEnvironmentOptions.globalsCleanup option and link the docs from the JEST-01 deprecation warning, and document the option's modes (#16404)

30.5.0

Features

  • [@jest/expect-utils, jest-mock] Add mockFn.whenCalledWith(...args) for configuring return values per argument list, with first-class asymmetric-matcher support (#16053)
  • [@jest/expect-utils] Export AsymmetricMatcher and FunctionParameters types (previously private to expect) (#16053)
  • [jest-circus, jest-core, jest-jasmine2, jest-test-result, jest-types] --collectTests now expands test.each/describe.each cases and reports per-status counts (skipped/todo via the new wouldRun flag for selected tests) plus a summary line that match a real run, including under --testNamePattern and .only/fdescribe focus on both the circus and jasmine2 runners (#16259)
  • [jest-circus, jest-environment, jest-runtime, jest-types] Add describe-level retries via jest.retryTimes(..., {entireDescribe: true}) (#16322)
  • [jest-circus, jest-message-util, jest-reporters, jest-types] Add retryMessages to AssertionResult and export formatErrorStack, so the retry log renders nested cause and AggregateError sections with code frames instead of serialized [cause]:/[errors]: markers (#16316)
  • [jest-circus, jest-types] Add unhandledErrorsDetailed to Circus.RunResult, so an unhandled rejection reports its cause chain and AggregateError entries with code frames instead of a pre-serialized stack (#16316)
  • [jest-haste-map] Replace NodeWatcher and FSEventsWatcher with @parcel/watcher for the non-watchman watch path (#16188)
  • [jest-resolve] Bump unrs-resolver to 1.12.1, remove jest-pnp-resolver and unnecessary checks (#15721)
  • [jest-resolve] Honor Node's --preserve-symlinks / NODE_PRESERVE_SYMLINKS in the default resolver by passing symlinks: false to unrs-resolver (#16260)
  • [jest-runtime] Apply automocking and manual __mocks__ files to synchronously evaluable ESM graphs on Node 24.9+ - static imports, dynamic import() and require() of an ESM file now generate an automock from the real module's namespace instead of failing with "Attempting to import a mock without a factory". Graphs that need async evaluation (top-level await) or an async-only resolver or transformer still throw (#16391)
  • [jest-runtime] Route process.getBuiltinModule through the sandbox, so it returns the sandbox process and the hooked node:module instead of the host's (#16391)
  • [jest-runtime] Throw an actionable error from module.register() and module.registerHooks() inside a test - the hooks attached to the loader running Jest itself, never saw the sandboxed requires they were meant for, and stayed registered for every later test file in the worker (#16391)
  • [jest-runtime] Surface resolution and import-attribute errors in an ESM graph before executing any of its CJS dependencies on Node 24.9+, matching Node's run-nothing-on-a-broken-graph behavior; the legacy loader on older versions keeps its linking-time execution order (#16391)
  • [jest-runtime] Throw ERR_SOURCE_PHASE_NOT_DEFINED with an actionable message for import source and import.source(), instead of failing at instantiation with V8's bare "Source phase import object is not defined" (#16391)
  • [jest-runtime] Emit the JSON-without-import-attribute deprecation warning once per test file instead of once per worker, so it is no longer silently swallowed for every file after the first (#16391)
  • [jest-runtime] Set import.meta.main to true in the test file and false in every module it loads, matching Node 24+ (#16367)
  • [jest-runtime] Resolve the module-sync export condition, so a package that exposes its ESM entry point for require() loads the same file Node would (#16336)
  • [jest-snapshot] Add external snapshot paths to custom reporter failure details (#16374)

Fixes

... (truncated)

Commits

Updates @types/jest from 29.5.14 to 30.0.0

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 24, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch 3 times, most recently from 5e6626a to 2a508be Compare September 30, 2026 17:41
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

@dependabot rebase

Main CI passed; refresh this failed update against 1b4a5e4.

@dependabot @github

dependabot Bot commented on behalf of github Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

Sorry, only users with push access can use that command.

@kosumic

kosumic commented Oct 3, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against c3656f1.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch 2 times, most recently from 02df248 to 0e05e03 Compare October 3, 2026 02:55
@kosumic

kosumic commented Oct 3, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 9b7ad09.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch 2 times, most recently from 111c868 to 29a964c Compare October 3, 2026 10:09
@kosumic

kosumic commented Oct 3, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 3710a6b.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 29a964c to 3042381 Compare October 3, 2026 11:31
@kosumic

kosumic commented Oct 3, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 3c6a7f5.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch 2 times, most recently from 0070a5c to 7d262ce Compare October 3, 2026 16:48
@kosumic

kosumic commented Oct 4, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 75c4f8b.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 7d262ce to 292050d Compare October 4, 2026 03:46
@kosumic

kosumic commented Oct 5, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 843d9bb.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 292050d to a626b2b Compare October 5, 2026 03:51
@kosumic

kosumic commented Oct 5, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 14ffc8c.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from a626b2b to c15bc57 Compare October 5, 2026 05:50
@kosumic

kosumic commented Oct 5, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 5462b86.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch 2 times, most recently from 755c4dd to 51e0388 Compare October 5, 2026 11:01
@kosumic

kosumic commented Oct 15, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against da901a7.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 8c512c3 to 9f7beb1 Compare October 15, 2026 07:57
@kosumic

kosumic commented Oct 15, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 2801e84.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch 2 times, most recently from 2451226 to 6440749 Compare October 15, 2026 14:52
@kosumic

kosumic commented Oct 16, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 1ece608.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 6440749 to ccfe806 Compare October 16, 2026 04:01
@kosumic

kosumic commented Oct 16, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against eb8030b.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch 2 times, most recently from 07c1305 to 6d08ad3 Compare October 16, 2026 10:39
@kosumic

kosumic commented Oct 16, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against dc33b29.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 6d08ad3 to a27f57f Compare October 16, 2026 16:12
@kosumic

kosumic commented Oct 17, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 295af5b.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from a27f57f to 29d8094 Compare October 17, 2026 07:37
@kosumic

kosumic commented Oct 17, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 2c387eb.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 29d8094 to 3004f02 Compare October 17, 2026 08:53
@kosumic

kosumic commented Oct 17, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 3428963.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 3004f02 to 2939038 Compare October 17, 2026 17:55
@kosumic

kosumic commented Oct 18, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against e72f31f.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 2939038 to de97b49 Compare October 18, 2026 07:12
@kosumic

kosumic commented Oct 18, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 5c9b2c2.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from de97b49 to 2d8e68c Compare October 18, 2026 15:05
@kosumic

kosumic commented Oct 18, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against f104c59.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from 2d8e68c to f9ec990 Compare October 18, 2026 17:05
@kosumic

kosumic commented Oct 19, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 8ac6419.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from f9ec990 to a9acc56 Compare October 19, 2026 08:08
@kosumic

kosumic commented Oct 19, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Main CI passed; refresh this failed update against 88dbfed.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from a9acc56 to cd975d2 Compare October 19, 2026 09:29
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.5.2
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.5.2/packages/jest)

Updates `@types/jest` from 29.5.14 to 30.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-version: 30.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: jest
  dependency-version: 30.5.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-b0ec9e4250 branch from cd975d2 to fe59a86 Compare October 19, 2026 10:41

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant