mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c5177a6299
Our intention was to remove TestBed.flushEffects() in Angular v20 as it was a developer preview API that doesn't need to follow our deprecation policy. It turned out, though, that the angular.dev documentation wasn't displaying the @developerPreview annotation properly so some of the developers might have been unaware of the non-stable nature of this API. This commits re-introduces the TestBed.flushEffects() API. This API call will delegate to TestBed.tick(). PR Close #61462