Skip to content

Commit 839e293

Browse files
committed
Update progress-spinner-harness.ts
1 parent 8793b6f commit 839e293

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/material/progress-spinner/testing/progress-spinner-harness.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)