source: trip-planner-front/node_modules/@angular/material/expansion/testing/accordion-harness.d.ts

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

initial commit

  • Property mode set to 100644
File size: 1.2 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 { MatExpansionPanelHarness } from './expansion-harness';
10import { AccordionHarnessFilters, ExpansionPanelHarnessFilters } from './expansion-harness-filters';
11/** Harness for interacting with a standard mat-accordion in tests. */
12export declare class MatAccordionHarness extends ComponentHarness {
13 static hostSelector: string;
14 /**
15 * Gets a `HarnessPredicate` that can be used to search for an accordion
16 * with specific attributes.
17 * @param options Options for narrowing the search.
18 * @return a `HarnessPredicate` configured with the given options.
19 */
20 static with(options?: AccordionHarnessFilters): HarnessPredicate<MatAccordionHarness>;
21 /** Gets all expansion panels which are part of the accordion. */
22 getExpansionPanels(filter?: ExpansionPanelHarnessFilters): Promise<MatExpansionPanelHarness[]>;
23 /** Whether the accordion allows multiple expanded panels simultaneously. */
24 isMulti(): Promise<boolean>;
25}
Note: See TracBrowser for help on using the repository browser.