import {MatProgressSpinnerHarness} from '@angular/material/progress-spinner/testing';
MatProgressSpinnerHarness
extends
ComponentHarness
Harness for interacting with a standard mat-progress-spinner in tests.
Name | Description |
---|---|
|
The selector for the host element of a |
async
getMode
|
|
---|---|
Gets the progress spinner's mode. |
|
Returns | |
Promise<ProgressSpinnerMode>
|
|
async
getValue
|
|
---|---|
Gets the progress spinner's value. |
|
Returns | |
Promise<number | null>
|
|
async
host
|
|
---|---|
Gets a |
|
Returns | |
Promise<TestElement>
|
|
static
with
|
|
---|---|
Gets a |
|
Parameters | |
options ProgressSpinnerHarnessFilters = {}
|
|
Returns | |
HarnessPredicate<MatProgressSpinnerHarness>
|
a |
ProgressSpinnerHarnessFilters
A set of criteria that can be used to filter a list of MatProgressSpinnerHarness
instances.