MCPcopy Index your code
hub / github.com/angular/angular / getDebugElements

Function getDebugElements

adev/src/app/editor/preview/preview.component.spec.ts:89–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 const {fixture, fakeNodeRuntimeState} = beforeEach();
88
89 function getDebugElements(): Record<number, DebugElement | null> {
90 return {
91 [LoadingStep.NOT_STARTED]: fixture.debugElement.query(
92 By.css('.adev-embedded-editor-preview-loading-starting'),
93 ),
94 [LoadingStep.BOOT]: fixture.debugElement.query(
95 By.css('.adev-embedded-editor-preview-loading-boot'),
96 ),
97 [LoadingStep.LOAD_FILES]: fixture.debugElement.query(
98 By.css('.adev-embedded-editor-preview-loading-load-files'),
99 ),
100 [LoadingStep.INSTALL]: fixture.debugElement.query(
101 By.css('.adev-embedded-editor-preview-loading-install'),
102 ),
103 [LoadingStep.START_DEV_SERVER]: fixture.debugElement.query(
104 By.css('.adev-embedded-editor-preview-loading-start-dev-server'),
105 ),
106 };
107 }
108
109 for (
110 let componentLoadingStep = 0;

Callers 1

Calls 2

cssMethod · 0.80
queryMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…