Context
In the Angular Material documentation, it is said you can either use <mat-progress-spinner> or <mat-spinner> to place spinner components:
The progress-spinner supports two modes, "determinate" and "indeterminate". The <mat-spinner> component is an alias for <mat-progress-spinner mode="indeterminate">.
Issue
When using harnesses to test the application, there's no harness for the <mat-spinner> element and the MatProgressSpinnerHarness just includes selector for mat-progress-spinner, and not their alias mat-spinner:
|
static hostSelector = 'mat-progress-spinner'; |
Should the selector be able to match both spinners? Or maybe we're missing a MatSpinnerHarness here? 🤔
Thanks!
Context
In the Angular Material documentation, it is said you can either use
<mat-progress-spinner>or<mat-spinner>to place spinner components:Issue
When using harnesses to test the application, there's no harness for the
<mat-spinner>element and theMatProgressSpinnerHarnessjust includes selector format-progress-spinner, and not their aliasmat-spinner:components/src/material/progress-spinner/testing/progress-spinner-harness.ts
Line 17 in 264c20d
Should the selector be able to match both spinners? Or maybe we're missing a
MatSpinnerHarnesshere? 🤔Thanks!