mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
1ea39e050c
As an alternative to monkey patching vitest, this change adds a method that could be used for manually running functions inside a shared proxy zone. If used inocrrectly, this would mean that the `fakeAsync` closure may not capture all timers and microtasks if it invokes things created in a zone that was already forked (e.g. creating a component in a beforeEach: https://github.com/angular/angular/blob/2699dd65558d70fadeac1e9b420841f3dfc3a059/packages/zone.js/lib/jasmine/jasmine.ts#L363-L371) PR Close #61626