mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
16cc9b46aa
This is needed for the case if a `beforeEach` instantiates `NgZone`and the `it` uses `TestComponentBuilder.createFakeAsync`. Otherwise the `NgZone` will use the root zone as parent, and `TestComponentBuilder.createFakeAsync` will always return undefined as `tick` does not forward promises created under the zone of `NgZone`.