-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bump dependecies jest
, @types/jest
and ts-jest
#8756
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@torresgol10 is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
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.
Thank you!
I upgraded the
jest
,@types/jest
andts-jest
dependencies to the latest version, because in everypnpm install
there was a warning for the ts-jest library and in the future I wanted to upgrade to typescript 5.5.3 in all packages.In order to update
jest
it was necessary to updatets-jest
and vice versa, although I didn't want to make a PR with both updates they are totally related and you can't update one library without updating the other.In the
packages/turbo-test-utils
, I removed thejest
,@types/jest
andts-jest
dependencies, as they were not used in this package node:test is used.In order to move from
jest
to the latest version and keep everything working the same without touching code, I had to update the configuration of jest when doing snapshop to leave the configuration that had before to be able to default, put it url of the documentation, without putting this configuration all the tests failed: https://jestjs.io/docs/upgrading-to-jest29#snapshot-formatIn all jest configurations, now
InitialOptionsTsJest
is marked as deprecated and changed toJestConfigWithTsJest
.