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

Function setSelectedCities

packages/forms/test/value_accessor_integration_spec.ts:527–531  ·  view source on GitHub ↗
(selectedCities: any)

Source from the content-addressed store, hash-verified

525 });
526
527 const setSelectedCities = async (selectedCities: any): Promise<void> => {
528 comp.selectedCities = selectedCities;
529 fixture.debugElement.injector.get(ChangeDetectorRef).markForCheck();
530 await fixture.whenStable();
531 };
532
533 const selectOptionViaUI = async (valueString: string): Promise<void> => {
534 const select = fixture.debugElement.query(By.css('select'));

Calls 3

markForCheckMethod · 0.80
getMethod · 0.65
whenStableMethod · 0.65

Tested by

no test coverage detected