-
Notifications
You must be signed in to change notification settings - Fork 0
chore!: update jest v29 (#756) #757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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/jestfrom ^29.4.0 to ^29.5.14 - Updated
ts-jestfrom ^29.2.5 to ^29.4.6
There was a problem hiding this 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.
* 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>
Closes #756.
We upgraded the Jest stack to the latest 29.x versions instead of 30 because
ts-jestcurrently only supports Jest 29. Our tests and Jest config rely onts-jest(preset: "ts-jest/presets/js-with-ts-esm"), so moving to Jest 30 without a matchingts-jestmajor would put us on an unsupported combination and risk subtle breakage in TypeScript compilation. Oncets-jestadds official Jest 30 support (or we migrate away fromts-jest), we can revisit a Jest 30+ upgrade.This pull request updates several testing-related dependencies in the
package.jsonfile to their latest versions. These updates help ensure compatibility with the latest features and bug fixes.Dependency updates (testing):
@types/jestfrom version^29.4.0to^29.5.14to include the latest type definitions for Jest.jestfrom version^29.4.1to^29.7.0for improved testing features and bug fixes.jest-environment-jsdomfrom version^29.4.1to^29.7.0to match the Jest upgrade and ensure environment compatibility.ts-jestfrom version^29.2.5to^29.4.6for better TypeScript and Jest integration.