Skip to content

Commit fbd5262

Browse files
committed
test(material/stepper): fix ci build fail issue
1 parent 57da495 commit fbd5262

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/material/stepper/stepper.spec.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ describe('MatStepper', () => {
259259
it('should not set focus on header of selected step if header is not clicked', () => {
260260
const stepperComponent =
261261
fixture.debugElement.query(By.directive(MatStepper))!.componentInstance;
262-
const stepHeaderEl = fixture.debugElement.queryAll(By.css('mat-step-header'))[1].nativeElement;
262+
const stepHeaderEl =
263+
fixture.debugElement.queryAll(By.css('mat-step-header'))[1].nativeElement;
263264
const nextButtonNativeEl = fixture.debugElement
264265
.queryAll(By.directive(MatStepperNext))[0].nativeElement;
265266
spyOn(stepHeaderEl, 'focus');
@@ -273,7 +274,8 @@ describe('MatStepper', () => {
273274
it('should focus next step header if focus is inside the stepper', () => {
274275
const stepperComponent =
275276
fixture.debugElement.query(By.directive(MatStepper))!.componentInstance;
276-
const stepHeaderEl = fixture.debugElement.queryAll(By.css('mat-step-header'))[1].nativeElement;
277+
const stepHeaderEl =
278+
fixture.debugElement.queryAll(By.css('mat-step-header'))[1].nativeElement;
277279
const nextButtonNativeEl = fixture.debugElement
278280
.queryAll(By.directive(MatStepperNext))[0].nativeElement;
279281
spyOn(stepHeaderEl, 'focus');
@@ -839,7 +841,7 @@ describe('MatStepper', () => {
839841
it('should be able to use the legacy classes in queries', () => {
840842
const fixture = createComponent(SimpleMatVerticalStepperApp);
841843
fixture.detectChanges();
842-
844+
843845
expect(fixture.componentInstance.legacyTokenStepper).toBeTruthy();
844846
});
845847

0 commit comments

Comments
 (0)