MCPcopy Create free account
hub / github.com/angular/angular / isStable

Function isStable

packages/core/test/change_detection_scheduler_spec.ts:59–61  ·  view source on GitHub ↗
(injector = TestBed.inject(EnvironmentInjector))

Source from the content-addressed store, hash-verified

57const {withProxyZone} = (Zone as any)[Zone.__symbol__('fakeAsyncTest')];
58
59function isStable(injector = TestBed.inject(EnvironmentInjector)): boolean {
60 return toSignal(injector.get(ApplicationRef).isStable, {requireSync: true, injector})();
61}
62
63describe('Angular with zoneless enabled', () => {
64 async function createFixture<T>(type: Type<T>): Promise<ComponentFixture<T>> {

Calls 3

toSignalFunction · 0.90
injectMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected