File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/material/progress-spinner/testing Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -42,21 +42,24 @@ export class MatProgressSpinnerHarness extends ComponentHarness {
4242
4343 /** Gets the progress spinner's mode. */
4444 async getMode ( ) : Promise < ProgressSpinnerMode > {
45- const modeAttr = ( await this . host ( ) ) . getAttribute ( 'data-mat-progress-spinner-mode' ) ;
45+ const modeAttr =
46+ ( await this . host ( ) ) . getAttribute ( 'data-mat-progress-spinner-mode' ) ;
4647 return ( await modeAttr ) as ProgressSpinnerMode ;
4748 }
4849
4950 /** Gets the progress spinner's diameter. */
5051 async getDiameter ( ) : Promise < number | null > {
5152 const host = await this . host ( ) ;
52- const diameterAttr = await host . getAttribute ( 'data-mat-progress-spinner-diameter' ) ;
53+ const diameterAttr =
54+ await host . getAttribute ( 'data-mat-progress-spinner-diameter' ) ;
5355 return diameterAttr ? coerceNumberProperty ( diameterAttr ) : null ;
5456 }
5557
5658 /** Gets the progress spinner's strokeWidth. */
5759 async getStrokeWidth ( ) : Promise < number | null > {
5860 const host = await this . host ( ) ;
59- const strokeWidthAttr = await host . getAttribute ( 'data-mat-progress-spinner-strokeWidth' ) ;
61+ const strokeWidthAttr =
62+ await host . getAttribute ( 'data-mat-progress-spinner-strokeWidth' ) ;
6063 return strokeWidthAttr ? coerceNumberProperty ( strokeWidthAttr ) : null ;
6164 }
6265}
You can’t perform that action at this time.
0 commit comments