Skip to content

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

Closed
clydin wants to merge 1 commit into
angular:mainfrom
clydin:zone/vitest-patching
Closed

feat(zone.js): support vitest patching in zone.js/testing#61349
clydin wants to merge 1 commit into
angular:mainfrom
clydin:zone/vitest-patching

Conversation

@clydin

@clydin clydin commented May 14, 2025

Copy link
Copy Markdown
Member

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
@JeanMeche

Copy link
Copy Markdown
Member

Since this isn't planned for now.

@JeanMeche JeanMeche closed this Dec 17, 2025
@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 Jan 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

2 participants