Skip to content

feat(zone.js): support vitest patching in zone.js/testing #61349

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

clydin
Copy link
Member

@clydin clydin commented May 14, 2025

To support fakeAsync usage while using vitest as a test runner, Zone.js now provides patching when using the zone.js/testing package import. This patching is similar to that of the existing jasmine, mocha, and jest functionality.

@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: zones Issues related to zone.js labels May 14, 2025
@ngbot ngbot bot added this to the Backlog milestone May 14, 2025
@clydin clydin force-pushed the zone/vitest-patching branch 3 times, most recently from 9b8bd90 to 442643b Compare May 15, 2025 15:33
To support `fakeAsync` usage while using `vitest` as a test runner, Zone.js
now provides patching when using the `zone.js/testing` package import.
This patching is similar to that of the existing jasmine, mocha, and jest
functionality.
@clydin clydin force-pushed the zone/vitest-patching branch from 442643b to 922d653 Compare May 15, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: zones Issues related to zone.js detected: feature PR contains a feature commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy