source: trip-planner-front/node_modules/@angular/material/progress-bar/testing/progress-bar-harness.d.ts@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
9import { ProgressBarHarnessFilters } from './progress-bar-harness-filters';
10/** Harness for interacting with a standard mat-progress-bar in tests. */
11export declare class MatProgressBarHarness extends ComponentHarness {
12 /** The selector for the host element of a `MatProgressBar` instance. */
13 static hostSelector: string;
14 /**
15 * Gets a `HarnessPredicate` that can be used to search for a `MatProgressBarHarness` that meets
16 * certain criteria.
17 * @param options Options for filtering which progress bar instances are considered a match.
18 * @return a `HarnessPredicate` configured with the given options.
19 */
20 static with(options?: ProgressBarHarnessFilters): HarnessPredicate<MatProgressBarHarness>;
21 /** Gets the progress bar's value. */
22 getValue(): Promise<number | null>;
23 /** Gets the progress bar's mode. */
24 getMode(): Promise<string | null>;
25}
Note: See TracBrowser for help on using the repository browser.