build(deps-dev): bump jest and @types/jest in /web - #7368
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
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.5.0 to 30.5.1 - [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.1/packages/jest) Updates `@types/jest` from 26.0.23 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: jest dependency-version: 30.5.1 dependency-type: direct:development update-type: version-update:semver-major - dependency-name: "@types/jest" dependency-version: 30.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
✅ Deploy Preview for pipecd-site canceled.
|
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Jest was upgraded to v30 but related pinned dependencies (notably jest-environment-jsdom and ts-jest) remain at v29, which is likely to break the test runtime given the current Jest configuration.
Pull request overview
This PR updates the web frontend’s Jest tooling dependencies, aiming to move the project’s test runner and TypeScript Jest types forward together.
Changes:
- Bump
jestfrom29.5.0to30.5.1inweb/. - Bump
@types/jestfrom26.0.23to30.0.0inweb/. - Refresh
web/yarn.lockto reflect the new Jest dependency tree.
File summaries
| File | Description |
|---|---|
web/package.json |
Updates Jest and Jest TypeScript typings versions for the web workspace. |
web/yarn.lock |
Updates the lockfile to the resolved dependency graph after the Jest upgrade. |
Review details
Suppressed comments (1)
web/package.json:54
- Jest was bumped to v30, but the repo still pins jest-environment-jsdom and ts-jest to v29.x. With the current Jest config using
ts-jestand a custom environment that extendsjest-environment-jsdom, this leaves two major versions of@jest/*packages in the dependency graph (v29 via jest-environment-jsdom and v30 via jest), which is likely to break the test runtime. Please align the Jest ecosystem packages to the same major (e.g., upgrade jest-environment-jsdom and ts-jest to versions compatible with Jest 30) and regenerate yarn.lock.
"jest": "^30.5.1",
"jest-environment-jsdom": "^29.5.0",
"msw": "^0.21.2",
"prettier": "^2.0.5",
"pretty-format": "^29.7.0",
- Files reviewed: 1/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps jest and @types/jest. These dependencies needed to be updated together.
Updates
jestfrom 29.5.0 to 30.5.1Release notes
Sourced from jest's releases.
... (truncated)
Changelog
Sourced from jest's changelog.
... (truncated)
Commits
9ab14fev30.5.1912baa3v30.5.0b91717achore: refresh coding agent instructions (#16182)746f2a0v30.4.2b3b4a09v30.4.15cbb21ev30.4.0db7141afix: allowcollectCoverageandcoverageProviderin project config (#16132)efb59c2v30.3.096c53d3feat(jest-config): adddefineConfigandmergeConfigfunctions (#15844)855864ev30.2.0Updates
@types/jestfrom 26.0.23 to 30.0.0Commits
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)