Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Dec 5, 2025

This commit ensures that testing polyfills (specifically zone.js/testing) are correctly injected when using the new unit-test builder with the Karma runner. Previously, only the application polyfills were included, which could lead to runtime errors in tests dependent on zone.js/testing.

Closes #32032

…utor

This commit ensures that testing polyfills (specifically `zone.js/testing`) are correctly injected when using the new unit-test builder with the Karma runner. Previously, only the application polyfills were included, which could lead to runtime errors in tests dependent on `zone.js/testing`.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Dec 5, 2025
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Dec 5, 2025
@clydin clydin requested a review from alan-agius4 December 5, 2025 17:16
@clydin clydin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 5, 2025
@clydin clydin merged commit 385165c into angular:main Dec 5, 2025
38 checks passed
@clydin
Copy link
Member Author

clydin commented Dec 5, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@clydin clydin deleted the unit-test/karma-zone-polyfills branch December 5, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@angular/build:unit-test: inject zone.js/testing before karma builder execution

2 participants