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

Function setSelectedCities

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

Source from the content-addressed store, hash-verified

521 });
522
523 const setSelectedCities = async (selectedCities: any): Promise<void> => {
524 comp.selectedCities = selectedCities;
525 fixture.changeDetectorRef.markForCheck();
526 await fixture.whenStable();
527 };
528
529 const selectOptionViaUI = async (valueString: string): Promise<void> => {
530 const select = fixture.debugElement.query(By.css('select'));

Calls 2

markForCheckMethod · 0.80
whenStableMethod · 0.65

Tested by

no test coverage detected