Skip to content

chore(deps): update Jest to 30.4#3077

Merged
alainncls merged 2 commits into
mainfrom
codex/3060-jest-30-4
May 18, 2026
Merged

chore(deps): update Jest to 30.4#3077
alainncls merged 2 commits into
mainfrom
codex/3060-jest-30-4

Conversation

@alainncls
Copy link
Copy Markdown
Contributor

@alainncls alainncls commented May 12, 2026

Summary

  • Bump the Jest catalog entry from 30.3.0 to 30.4.2 and @jest/globals to 30.4.1.
  • Add jest-environment-node 30.4.1 explicitly for Jest workspaces that use the Node test environment.
  • Pin older Jest 30 expect resolutions to 30.4.1 so the runtime and mocker packages stay coherent.

Contract impact

  • No Solidity files changed.
  • No deployed-bytecode inputs or generated contract artifacts are included.

Validation

  • pnpm install --frozen-lockfile
  • pnpm -F operations run test
  • pnpm -F @consensys/linea-contract-integrity-verifier run build
  • pnpm -F @consensys/linea-contract-integrity-verifier-ethers run test
  • pnpm -F @consensys/linea-contract-integrity-verifier-viem run test
  • pnpm -F @consensys/linea-sdk-core run test
  • pnpm --dir ts-libs/sdk/sdk-ethers run typechain && pnpm -F @consensys/linea-sdk run test
  • pnpm -F @consensys/linea-sdk-viem run test after building @consensys/linea-sdk-core
  • pnpm -F @consensys/linea-native-yield-automation-service run test

Local note: pnpm -F @consensys/linea-postman run test was attempted after building workspace dependencies, but this local machine lacks the native @consensys/linea-native-libs binary directory (dist/lib/darwin-arm64) because NATIVE_LIBS_RELEASE_TAG is not set for the native-libs postbuild step.

Closes #3060


Note

Low Risk
Low risk dependency-only change (Jest minor bump) plus a small test expectation fix; main impact is on test tooling and lockfile resolution rather than runtime behavior.

Overview
Updates the workspace Jest toolchain to v30.4 (catalog bumps for jest and @jest/globals) and explicitly adds jest-environment-node to multiple packages’ devDependencies to match their test environment.

Refreshes pnpm-lock.yaml to reflect the new Jest versions and pins expect resolution to keep Jest internals consistent. Also fixes a Hardhat TokenBridge test to capture the previous messageService address before asserting the MessageServiceUpdated event args.

Reviewed by Cursor Bugbot for commit 2196fe0. Bugbot is set up for automated code reviews on this repo. Configure here.

@alainncls alainncls requested a review from a team as a code owner May 12, 2026 18:50
@alainncls alainncls self-assigned this May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

postman Changelog Preview (informational)

[Unreleased] diff (commits touching postman/** since latest releases/postman/v* tag)

[unreleased]

⚙️ Miscellaneous Tasks

Generated by git-cliff-action using cliff.toml. This comment is informational and does not gate the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

linea-besu Changelog Preview (informational)

[Unreleased] diff (commits touching linea-besu/** since latest releases/linea-besu/v* tag)

[unreleased]

🐛 Bug Fixes

⚙️ Miscellaneous Tasks

Generated by git-cliff-action using cliff.toml. This comment is informational and does not gate the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

tx-exclusion-api Changelog Preview (informational)

[Unreleased] diff (commits touching tx-exclusion-api/** since latest releases/tx-exclusion-api/v* tag)

[unreleased]

⚙️ Miscellaneous Tasks

Generated by git-cliff-action using cliff.toml. This comment is informational and does not gate the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

coordinator Changelog Preview (informational)

[Unreleased] diff (commits touching coordinator/** since latest releases/coordinator/v* tag)

[unreleased]

⚙️ Miscellaneous Tasks

Generated by git-cliff-action using cliff.toml. This comment is informational and does not gate the PR.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 12, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​jest/​globals@​30.3.0 ⏵ 30.4.11001006397100
Updatednpm/​jest-environment-node@​30.3.0 ⏵ 30.4.1100 +110067 +197100
Updatednpm/​jest@​30.3.0 ⏵ 30.4.2100 +110070 +198100

View full report

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.19%. Comparing base (f6fe6e4) to head (2196fe0).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #3077   +/-   ##
=========================================
  Coverage     77.19%   77.19%           
  Complexity     7003     7003           
=========================================
  Files          1121     1121           
  Lines         44508    44506    -2     
  Branches       5355     5355           
=========================================
  Hits          34356    34356           
+ Misses         8785     8783    -2     
  Partials       1367     1367           
Flag Coverage Δ *Carryforward flag
hardhat 96.17% <ø> (ø)
kotlin 55.87% <ø> (+<0.01%) ⬆️ Carriedforward from 11638f6
lido-governance-monitor 97.61% <ø> (ø)
linea-native-libs 90.69% <ø> (ø)
linea-shared-utils 96.18% <ø> (ø)
native-yield-automation-service 97.68% <ø> (ø)
postman 99.92% <ø> (ø)
sdk-core 98.09% <ø> (ø)
sdk-ethers 89.83% <ø> (ø)
sdk-viem 99.45% <ø> (ø)
tracer 88.56% <ø> (ø) Carriedforward from 11638f6

*This pull request uses carry forward flags. Click here to find out more.
see 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(deps): unblock Jest 30.4 across TypeScript workspaces

3 participants