API reference for Angular Material progress-bar-testing

import {MatProgressBarHarness} from '@angular/material/progress-bar/testing';

Harness for interacting with a standard mat-progress-bar in tests.

Methods
async
getMode

Gets the progress bar's mode.

Returns
Promise<string | null>

async
getValue

Gets the progress bar's value.

Returns
Promise<number | null>

async
host

Gets a Promise for the TestElement representing the host element of the component.

Returns
Promise<TestElement>

A set of criteria that can be used to filter a list of MatProgressBarHarness instances.