Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(@angular-devkit/build-angular): expand jest and jest-environment-jsdom to allow version 30 #30761

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

Draft
alan-agius4 wants to merge 1 commit into angular:main
base: main
Choose a base branch
Loading
from alan-agius4:jest-30

Conversation

Copy link
Collaborator

@alan-agius4 alan-agius4 commented Jul 22, 2025

This commit expands the peer deps of these dependencies to allow version 30.

Closes #30760

Julien-Marcou, Francesco-Borzi, LanderBeeuwsaert, donaldaverill, maciej-klemarczyk-se, and schreibse reacted with hooray emoji Julien-Marcou reacted with rocket emoji
@alan-agius4 alan-agius4 added the target: patch This PR is targeted for the next patch release label Jul 22, 2025
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jul 22, 2025
@alan-agius4 alan-agius4 changed the title (削除) fix(@angular/build-angular): expand jest and jest-environment-jsdom to allow version 30 (削除ここまで) (追記) fix(@angular-devkit/build-angular): expand jest and jest-environment-jsdom to allow version 30 (追記ここまで) Jul 22, 2025
@alan-agius4 alan-agius4 removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Jul 22, 2025
...nt-jsdom` to allow version 30
This commit expands the peer deps of these dependencies to allow version 30.
Closes angular#30760 

export default async function (): Promise<void> {
await applyJestBuilder();
await silentNpm('install', 'jest@29.5.0', 'jest-environment-jsdom@29.5.0', '--save-dev');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Question: Do we need to continue to support v29? Since this is still experimental, I don't think we're on the hook for backwards compatibility yet and it's probably reasonable to limit this to the latest major unless we have reason to believe that will be exceptionally difficult for users to adopt.

Copy link
Collaborator Author

@alan-agius4 alan-agius4 Jul 23, 2025

Choose a reason for hiding this comment

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

So it seems that this would need further investigation to get version 30 to work. Let's have a chat about this offline to see the next steps for this builder.

it11ah1 reacted with thumbs up emoji
Copy link

@dgp1130 @alan-agius4 When support for Jest v30 could be merged?

it11ah1, steamcleaner, NancyKunath, donaldaverill, DamcioAdamcio, maciej-klemarczyk-se, and SEA-TS reacted with thumbs up emoji DamcioAdamcio reacted with hooray emoji DamcioAdamcio reacted with rocket emoji

Copy link
Collaborator Author

This would require some further investigation and work to land as some tests are failing with the latest jest version.

Copy link

@alan-agius4 Sure. I understand that. But the question is - when?
Are we talking about days, weeks.....months? 🤔

It would be nice to know what are the plans for that support :) Don't want to check this PR every day :D

Copy link

@alan-agius4 Sure. I understand that. But the question is - when? Are we talking about days, weeks.....months? 🤔

It would be nice to know what are the plans for that support :) Don't want to check this PR every day :D

on the right there is a "Subscribe" button where you can opt in to getting updates on the status and comments of this PR to avoid having to check manually.

with that being said a timeline would be pretty cool as this is holding up my teams update to Jest 30 =)

swierzbicki reacted with thumbs up emoji

Copy link
Collaborator

dgp1130 commented Aug 1, 2025

We haven't had a detailed investigation or discussion just yet. When we have more information to share, we'll share it.

Also just a friendly reminder that the @angular-devkit/build-angular:jest builder is still experimental. We appreciate devs trying it out and giving feedback, but it is not recommended for load-bearing development workflows at this time.

Copy link

kstrasters-pj commented Aug 25, 2025
edited
Loading

We haven't had a detailed investigation or discussion just yet. When we have more information to share, we'll share it.

Also just a friendly reminder that the @angular-devkit/build-angular:jest builder is still experimental. We appreciate devs trying it out and giving feedback, but it is not recommended for load-bearing development workflows at this time.

I understand this to be a sensible statement, but even the @angular-devkit/build-angular has a peerDependency on 29.5.

Is y'all expectation that if we want to use Jest with our Angular projects that we would need to have Jest installed completely separately from the Angular project as a whole?

Copy link

guoliang commented Sep 4, 2025

For anyone still waiting on this PR, you can also switch to @angular/build

Julien-Marcou and donaldaverill reacted with thumbs up emoji slifty and it11ah1 reacted with eyes emoji

Copy link

it11ah1 commented Sep 12, 2025

For anyone still waiting on this PR, you can also switch to @angular/build

Not if it comes through another package (like @storybook/angular). In that case, overrides can help — but it’s a bit dirty...

slifty reacted with thumbs up emoji

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

@dgp1130 dgp1130 dgp1130 approved these changes

Assignees
No one assigned
Labels
area: @angular-devkit/build-angular target: patch This PR is targeted for the next patch release
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Support for jest v30

AltStyle によって変換されたページ (->オリジナル) /