@@ -259,7 +259,8 @@ describe('MatStepper', () => {
259
259
it ( 'should not set focus on header of selected step if header is not clicked' , ( ) => {
260
260
const stepperComponent =
261
261
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 ;
263
264
const nextButtonNativeEl = fixture . debugElement
264
265
. queryAll ( By . directive ( MatStepperNext ) ) [ 0 ] . nativeElement ;
265
266
spyOn ( stepHeaderEl , 'focus' ) ;
@@ -273,7 +274,8 @@ describe('MatStepper', () => {
273
274
it ( 'should focus next step header if focus is inside the stepper' , ( ) => {
274
275
const stepperComponent =
275
276
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 ;
277
279
const nextButtonNativeEl = fixture . debugElement
278
280
. queryAll ( By . directive ( MatStepperNext ) ) [ 0 ] . nativeElement ;
279
281
spyOn ( stepHeaderEl , 'focus' ) ;
@@ -839,7 +841,7 @@ describe('MatStepper', () => {
839
841
it ( 'should be able to use the legacy classes in queries' , ( ) => {
840
842
const fixture = createComponent ( SimpleMatVerticalStepperApp ) ;
841
843
fixture . detectChanges ( ) ;
842
-
844
+
843
845
expect ( fixture . componentInstance . legacyTokenStepper ) . toBeTruthy ( ) ;
844
846
} ) ;
845
847
0 commit comments