Skip to content

refactor(zone.js): Improve missing proxy zone error for jest imported#64497

Closed
atscott wants to merge 1 commit intoangular:mainfrom
atscott:zonetestingerror
Closed

refactor(zone.js): Improve missing proxy zone error for jest imported#64497
atscott wants to merge 1 commit intoangular:mainfrom
atscott:zonetestingerror

Conversation

@atscott
Copy link
Copy Markdown
Contributor

@atscott atscott commented Oct 17, 2025

test functions

This improves the fakeAsync error message when importing it, describe, etc from jest

We will not be further expanding the ZoneJS patches to support additional use-cases.

fixes #47603

@atscott atscott requested a review from clydin October 17, 2025 15:53
@angular-robot angular-robot bot added the area: zones Issues related to zone.js label Oct 17, 2025
@ngbot ngbot bot added this to the Backlog milestone Oct 17, 2025
Comment thread packages/zone.js/lib/zone-spec/proxy.ts Outdated
test functions

This improves the fakeAsync error message when importing it, describe,
etc from jest

We will not be further expanding the ZoneJS patches to support
additional use-cases.

fixes angular#47603
@atscott atscott added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Oct 17, 2025
@atscott
Copy link
Copy Markdown
Contributor Author

atscott commented Oct 22, 2025

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

@atscott atscott closed this in ced2fa5 Oct 22, 2025
atscott added a commit that referenced this pull request Oct 22, 2025
…#64497)

test functions

This improves the fakeAsync error message when importing it, describe,
etc from jest

We will not be further expanding the ZoneJS patches to support
additional use-cases.

fixes #47603

PR Close #64497
atscott added a commit that referenced this pull request Oct 22, 2025
…#64497)

test functions

This improves the fakeAsync error message when importing it, describe,
etc from jest

We will not be further expanding the ZoneJS patches to support
additional use-cases.

fixes #47603

PR Close #64497
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: zones Issues related to zone.js target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zone.js: Patched test functions (it, test, describe, etc.) are not used if importing from @jest/globals directly

2 participants