Skip to content

Conversation

@frano-m
Copy link
Contributor

@frano-m frano-m commented Dec 20, 2025

Closes #756.

We upgraded the Jest stack to the latest 29.x versions instead of 30 because ts-jest currently only supports Jest 29. Our tests and Jest config rely on ts-jest (preset: "ts-jest/presets/js-with-ts-esm"), so moving to Jest 30 without a matching ts-jest major would put us on an unsupported combination and risk subtle breakage in TypeScript compilation. Once ts-jest adds official Jest 30 support (or we migrate away from ts-jest), we can revisit a Jest 30+ upgrade.

This pull request updates several testing-related dependencies in the package.json file to their latest versions. These updates help ensure compatibility with the latest features and bug fixes.

Dependency updates (testing):

  • Upgraded @types/jest from version ^29.4.0 to ^29.5.14 to include the latest type definitions for Jest.
  • Upgraded jest from version ^29.4.1 to ^29.7.0 for improved testing features and bug fixes.
  • Upgraded jest-environment-jsdom from version ^29.4.1 to ^29.7.0 to match the Jest upgrade and ensure environment compatibility.
  • Upgraded ts-jest from version ^29.2.5 to ^29.4.6 for better TypeScript and Jest integration.

@frano-m frano-m changed the base branch from main to fran/714-nextjs-upgrade December 22, 2025 02:13
@frano-m frano-m changed the title chore: update jest v29 (#756) chore!: update jest v29 (#756) Jan 6, 2026
@frano-m frano-m requested review from NoopDog and Copilot January 6, 2026 05:45
@frano-m frano-m marked this pull request as ready for review January 6, 2026 05:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades Jest and related testing dependencies to the latest versions within the v29 major version. The rationale for staying on v29 (rather than upgrading to v30) is that ts-jest currently only supports Jest 29, and the project's test configuration relies on ts-jest.

Key Changes:

  • Updated Jest core packages (jest, jest-environment-jsdom) from ^29.4.x to ^29.7.0
  • Updated @types/jest from ^29.4.0 to ^29.5.14
  • Updated ts-jest from ^29.2.5 to ^29.4.6

@NoopDog NoopDog requested a review from Copilot January 6, 2026 05:50
@NoopDog NoopDog merged commit e335efb into fran/714-nextjs-upgrade Jan 6, 2026
12 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated no new comments.

NoopDog pushed a commit that referenced this pull request Jan 6, 2026
* chore!: upgrade non-breaking dependencies compatible with next.js 14 and react 18 (#752) (#753)

* chore!: update tanstack packages to latest (#752)

* chore!: update isomorphic-dompurify to latest (#752)

* chore!: update mui/material to latest (#752)

* chore!: update copy-to-clipboard, react-dropzone, react-window, yup (#752)

* chore!: update @commitlint/cli, @commitlint/config-conventional (#752)

* chore!: updated @emotion/react, @emotion/styled, @emotion/jest to latest (#752)

* chore: update @testing-library/react to latest (#742)

* chore: update storybook (#752)

* chore: update @typescript-eslint/eslint-plugin to latest (#752)

* chore: update eslint and eslint-config-prettier (#752)

* chore: update eslint-related packages (#752)

* chore: minor bump prettier (#752)

* chore!: update package-lock (#752)

* chore: udpate package-lock (#752)

---------

Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com>

* chore!: migrate to prettier 3 and updated plugins (#754) (#755)

* chore!: update tanstack packages to latest (#752)

* chore!: update isomorphic-dompurify to latest (#752)

* chore!: update mui/material to latest (#752)

* chore!: update copy-to-clipboard, react-dropzone, react-window, yup (#752)

* chore!: update @commitlint/cli, @commitlint/config-conventional (#752)

* chore!: updated @emotion/react, @emotion/styled, @emotion/jest to latest (#752)

* chore: update @testing-library/react to latest (#742)

* chore: update storybook (#752)

* chore: update @typescript-eslint/eslint-plugin to latest (#752)

* chore: update eslint and eslint-config-prettier (#752)

* chore: update eslint-related packages (#752)

* chore: minor bump prettier (#752)

* chore!: update package-lock (#752)

* chore: udpate package-lock (#752)

* chore: migrate to prettier 3 and updated plugins (#754)

---------

Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com>

* chore!: update jest v29 (#756) (#757)

* chore: update jest v29 (#756)

* chore!: rebased (#756)

---------

Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com>

* chore!: next.js to v15.x (step towards v16) (#714) (#758)

* chore!: next.js to v15.x (step towards v16) (#714)

* Update src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@frano-m frano-m deleted the fran/756-jest branch January 6, 2026 08:40
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.

3 participants