build(deps-dev): bump jest and @types/jest in /web - #7368
Conversation
✅ Deploy Preview for pipecd-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
d96970a to
c365083
Compare
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.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 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: "@types/jest" dependency-version: 30.0.0 dependency-type: direct:development update-type: version-update:semver-major - dependency-name: jest dependency-version: 30.5.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
c365083 to
eb65d9b
Compare
Co-authored-by: khanhtc1202 <32532742+khanhtc1202@users.noreply.github.com>
Head branch was pushed to by a user without write access
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7368 +/- ##
=======================================
Coverage 30.36% 30.36%
=======================================
Files 601 601
Lines 52622 52622
=======================================
Hits 15980 15980
Misses 35123 35123
Partials 1519 1519
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Bumps jest and @types/jest. These dependencies needed to be updated together.
Updates
jestfrom 29.5.0 to 30.5.2Release notes
Sourced from jest's releases.
... (truncated)
Changelog
Sourced from jest's changelog.
... (truncated)
Commits
202dd8av30.5.29ab14fev30.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)Updates
@types/jestfrom 26.0.23 to 30.0.0Commits