MCPcopy Index your code
hub / github.com/angular/components / fillOutStepper

Function fillOutStepper

src/material/stepper/stepper.spec.ts:769–780  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

767 it('should not clobber the `complete` binding when resetting', () => {
768 const steps: CdkStep[] = stepper.steps.toArray();
769 const fillOutStepper = () => {
770 testComponent.oneGroup.get('oneCtrl')!.setValue('input');
771 testComponent.twoGroup.get('twoCtrl')!.setValue('input');
772 testComponent.threeGroup.get('threeCtrl')!.setValue('valid');
773 testComponent.validationTrigger.next();
774 stepper.selectedIndex = 1;
775 fixture.detectChanges();
776 stepper.selectedIndex = 2;
777 fixture.detectChanges();
778 stepper.selectedIndex = 3;
779 fixture.detectChanges();
780 };
781
782 fillOutStepper();
783

Callers 1

stepper.spec.tsFile · 0.85

Calls 3

getMethod · 0.65
setValueMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…