Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2025

User description

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

Release notes

Sourced from jest's releases.

30.2.0

Chore & Maintenance

  • [*] Update example repo for testing React Native projects (#15832)
  • [*] Update jest-watch-typeahead to v3 (#15830)

Features

  • [jest-environment-jsdom-abstract] Add support for JSDOM v27 (#15834)

Fixes

  • [babel-jest] Export the TransformerConfig interface (#15820)
  • [jest-config] Fix jest.config.ts with TS loader specified in docblock pragma (#15839)

30.1.3

Fixes

  • Fix unstable_mockModule with node: prefixed core modules.

30.1.2

Fixes

  • [jest-snapshot-utils] Correct snapshot header regexp to work with newline across OSes (#15803)

30.1.1

Fixes

  • [jest-snapshot-utils] Fix deprecated goo.gl snapshot warning not handling Windows end-of-line sequences (#15800)

30.1.0

Features

  • [jest-leak-detector] Configurable GC aggressiveness regarding to V8 heap snapshot generation (#15793)
  • [jest-runtime] Reduce redundant ReferenceError messages
  • [jest-core] Include test modules that failed to load when --onlyFailures is active

Fixes

  • `[jest-snapshot-utils] Fix deprecated goo.gl snapshot guide link not getting replaced with fully canonical URL (#15787)
  • [jest-circus] Fix it.concurrent not working with describe.skip (#15765)
  • [jest-snapshot] Fix mangled inline snapshot updates when used with Prettier 3 and CRLF line endings
  • [jest-runtime] Importing from @jest/globals in more than one file no longer breaks relative paths (#15772)

Chore

  • [expect] Update docblock for toContain() to display info on substring check (#15789)

30.0.2

What's Changed

... (truncated)

Changelog

Sourced from jest's changelog.

30.2.0

Chore & Maintenance

  • [*] Update example repo for testing React Native projects (#15832)
  • [*] Update jest-watch-typeahead to v3 (#15830)

Features

  • [jest-environment-jsdom-abstract] Add support for JSDOM v27 (#15834)

Fixes

  • [jest-matcher-utils] Fix infinite recursion with self-referential getters in deepCyclicCopyReplaceable (#15831)
  • [babel-jest] Export the TransformerConfig interface (#15820)
  • [jest-config] Fix jest.config.ts with TS loader specified in docblock pragma (#15839)

30.1.3

Fixes

  • Fix unstable_mockModule with node: prefixed core modules.

30.1.2

Fixes

  • [jest-snapshot-utils] Correct snapshot header regexp to work with newline across OSes (#15803)

30.1.1

Fixes

  • [jest-snapshot-utils] Fix deprecated goo.gl snapshot warning not handling Windows end-of-line sequences (#15800)
  • [jest-snapshot-utils] Improve messaging about goo.gl snapshot link change (#15821)

30.1.0

Features

  • [jest-leak-detector] Configurable GC aggressiveness regarding to V8 heap snapshot generation (#15793)
  • [jest-runtime] Reduce redundant ReferenceError messages
  • [jest-core] Include test modules that failed to load when --onlyFailures is active

Fixes

  • [jest-snapshot-utils] Fix deprecated goo.gl snapshot guide link not getting replaced with fully canonical URL (#15787)
  • [jest-circus] Fix it.concurrent not working with describe.skip (#15765)
  • [jest-snapshot] Fix mangled inline snapshot updates when used with Prettier 3 and CRLF line endings
  • [jest-runtime] Importing from @jest/globals in more than one file no longer breaks relative paths (#15772)

... (truncated)

Commits

Updates @types/jest from 29.5.14 to 30.0.0

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

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)

CodeAnt-AI Description

Upgrade Jest and Jest type definitions to v30 for testing

What Changed

  • Test dependencies updated: Jest moved from 29.7.0 to 30.2.0 and @types/jest moved from 29.x to 30.0.0.
  • Local and CI test runs now use Jest 30 and the new TypeScript typings for Jest.
  • The test environment gains support for newer DOM APIs (JSDOM v27), which can affect tests that interact with the DOM.
  • TypeScript may show new or stricter type errors in tests and mocks due to updated @types/jest; test signatures or mocks might need small updates.
  • No changes to the production application behavior or runtime.

Impact

✅ Support newer DOM APIs in tests
✅ Stricter/updated TypeScript test typings
✅ CI and local test runs use Jest 30

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

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.2.0
- [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.2.0/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: jest
  dependency-version: 30.2.0
  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] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 27, 2025
@dependabot dependabot bot requested a review from cbwinslow as a code owner October 27, 2025 00:48
@keploy
Copy link

keploy bot commented Oct 27, 2025

No significant changes currently retry

@codeant-ai
Copy link
Contributor

codeant-ai bot commented Oct 27, 2025

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 27, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link

@codeant-ai codeant-ai bot added the size:XL This PR changes 500-999 lines, ignoring generated files label Oct 27, 2025
Comment on lines +77 to +81
"jest": "^30.2.0",
"@testing-library/react": "^16.0.1",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.14",
"@types/jest": "^30.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Ensure the major versions of jest and @types/jest match the installed jest-environment-jsdom (or upgrade jest-environment-jsdom together); otherwise pin jest and @types/jest to the same major as jest-environment-jsdom to avoid runtime or environment mismatches. [possible issue]

Severity Level: Minor ⚠️

Suggested change
"jest": "^30.2.0",
"@testing-library/react": "^16.0.1",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.14",
"@types/jest": "^30.0.0",
"jest": "^29.7.0",
"@types/jest": "^29.5.3",
Why it matters? ⭐

The PR added jest@^30 alongside jest-environment-jsdom@^29.7.0 — mixing Jest core and environment packages from different major versions is a real risk for runtime incompatibilities and subtle test failures. The suggestion to align majors is valid and fixes a probable mismatch. The provided improved_code downgrades Jest and its types to the 29.x major which is one valid approach; alternatively, upgrading jest-environment-jsdom to the 30.x environment would also be acceptable. This is not merely cosmetic — it prevents test environment/runtime issues.

Prompt for AI Agent 🤖
<code>This is a comment left during a code review.

**Path:** web/package.json
**Line:** 77:81
**Comment:**
	*Possible Issue: Ensure the major versions of `jest` and `@types/jest` match the installed `jest-environment-jsdom` (or upgrade `jest-environment-jsdom` together); otherwise pin `jest` and `@types/jest` to the same major as `jest-environment-jsdom` to avoid runtime or environment mismatches.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.

@codeant-ai
Copy link
Contributor

codeant-ai bot commented Oct 27, 2025

Pull Request Feedback 🔍

🔒 No security issues identified
⚡ Recommended areas for review

  • Dependency Mismatch
    The PR bumps jest to ^30.2.0 but jest-environment-jsdom remains at ^29.7.0. Mismatched major/minor versions between jest and its environment can cause runtime/test failures (environment APIs or internals may have changed). Verify and align the environment package (or remove the explicit env dependency if unnecessary), then run the full test suite.

  • Upgrade Impact
    Upgrading Jest from 29.x to 30.x can include breaking changes (runner behavior, new defaults, transformer APIs). Ensure all Jest-related tooling (e.g., babel-jest, ts-jest, custom transformers, and test setup files) are compatible and update any config if necessary. Run CI and local test coverage to detect regressions.

  • Type Definitions
    @types/jest was bumped to ^30.0.0. Confirm that this version of the type definitions is compatible with the project TypeScript version and any custom Jest types/augmentations. Run pnpm type-check and fix any type regressions introduced by the new definitions.

@codeant-ai
Copy link
Contributor

codeant-ai bot commented Oct 27, 2025

CodeAnt AI finished reviewing your PR.

@github-actions
Copy link

⚠️ Commit Message Lint Warning

The following commits do not follow the Conventional Commits specification:

  • 04ad94f: npm(deps-dev): bump jest and @types/jest

Expected format:

type(scope): description

Examples:
  feat: add new search feature
  fix(api): resolve pagination bug
  docs: update README

Valid types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

While not required, following this convention helps with automated changelog generation and semantic versioning.

@github-actions
Copy link

Auto-Review: Documentation Changes

This PR only contains documentation changes. Automatically approved for merge once CI passes.

@github-actions github-actions bot added auto-approved documentation Improvements or additions to documentation labels Oct 27, 2025
@github-actions
Copy link

⚠️ PR Title Format Check

Your PR title should start with one of these prefixes:

  • feat:
  • fix:
  • docs:
  • style:
  • refactor:
  • perf:
  • test:
  • build:
  • ci:
  • chore:
  • revert:

Example: feat: add new feature or fix: resolve bug

@github-actions
Copy link

💡 Tip: Link Related Issues

If this PR addresses an existing issue, please link it using:

  • Closes #123
  • Fixes #123
  • Resolves #123

This helps track which issues are being worked on and automatically closes them when the PR is merged.

@github-actions
Copy link

⚠️ PR Title Format Check

Your PR title should start with one of these prefixes:

  • feat:
  • fix:
  • docs:
  • style:
  • refactor:
  • perf:
  • test:
  • build:
  • ci:
  • chore:
  • revert:

Example: feat: add new feature or fix: resolve bug

@github-actions
Copy link

💡 Tip: Link Related Issues

If this PR addresses an existing issue, please link it using:

  • Closes #123
  • Fixes #123
  • Resolves #123

This helps track which issues are being worked on and automatically closes them when the PR is merged.

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

1 similar comment
@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

github-actions bot commented Nov 1, 2025

⚠️ PR Title Format Check

Your PR title should start with one of these prefixes:

  • feat:
  • fix:
  • docs:
  • style:
  • refactor:
  • perf:
  • test:
  • build:
  • ci:
  • chore:
  • revert:

Example: feat: add new feature or fix: resolve bug

@github-actions
Copy link

github-actions bot commented Nov 1, 2025

💡 Tip: Link Related Issues

If this PR addresses an existing issue, please link it using:

  • Closes #123
  • Fixes #123
  • Resolves #123

This helps track which issues are being worked on and automatically closes them when the PR is merged.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2025

Dependabot attempted to update this pull request, but because the branch dependabot/npm_and_yarn/multi-a28ee524ce is protected it was unable to do so.

@github-actions
Copy link

github-actions bot commented Nov 1, 2025

⚠️ PR Title Format Check

Your PR title should start with one of these prefixes:

  • feat:
  • fix:
  • docs:
  • style:
  • refactor:
  • perf:
  • test:
  • build:
  • ci:
  • chore:
  • revert:

Example: feat: add new feature or fix: resolve bug

@github-actions
Copy link

github-actions bot commented Nov 1, 2025

💡 Tip: Link Related Issues

If this PR addresses an existing issue, please link it using:

  • Closes #123
  • Fixes #123
  • Resolves #123

This helps track which issues are being worked on and automatically closes them when the PR is merged.

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

15 similar comments
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

⚠️ PR Title Format Check

Your PR title should start with one of these prefixes:

  • feat:
  • fix:
  • docs:
  • style:
  • refactor:
  • perf:
  • test:
  • build:
  • ci:
  • chore:
  • revert:

Example: feat: add new feature or fix: resolve bug

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

💡 Tip: Link Related Issues

If this PR addresses an existing issue, please link it using:

  • Closes #123
  • Fixes #123
  • Resolves #123

This helps track which issues are being worked on and automatically closes them when the PR is merged.

@mergify
Copy link
Contributor

mergify bot commented Dec 8, 2025

🧪 CI Insights

Here's what we observed from your CI run for 04ad94f.

🟢 All jobs passed!

But CI Insights is watching 👀

@github-actions
Copy link

🔔 Review Reminder

Gentle reminder: this PR is awaiting review from requested reviewers.

Requested reviewers: @cbwinslow

Please review when you have a chance. Thank you! 🙏

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

Labels

auto-approved dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation javascript Pull requests that update javascript code needs-better-commits size:XL This PR changes 500-999 lines, ignoring generated files status: in-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants