Skip to content

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alan-agius4
Copy link
Collaborator

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

Closes #30760

@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 requested a review from dgp1130 July 22, 2025 14:37
@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
@alan-agius4 alan-agius4 marked this pull request as draft July 22, 2025 15:28
@alan-agius4 alan-agius4 marked this pull request as draft July 22, 2025 15:28

export default async function (): Promise<void> {
await applyJestBuilder();
await silentNpm('install', '[email protected]', '[email protected]', '--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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: @angular-devkit/build-angular target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for jest v30
2 participants