UNPKG

@skyux/layout

Version:

This library was generated with [Nx](https://nx.dev).

26 lines (25 loc) 1.01 kB
import { HarnessPredicate } from '@angular/cdk/testing'; import { SkyComponentHarness } from '@skyux/core/testing'; import { SkyDescriptionListModeType } from '@skyux/layout'; import { SkyDescriptionListContentHarness } from './description-list-content-harness'; import { SkyDescriptionListHarnessFilters } from './description-list-harness-filters'; /** * Harness for interacting with a description list component in tests. */ export declare class SkyDescriptionListHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyDescriptionListHarness` that meets certain criteria */ static with(filters: SkyDescriptionListHarnessFilters): HarnessPredicate<SkyDescriptionListHarness>; getContent(): Promise<SkyDescriptionListContentHarness[]>; /** * Gets the mode of the description list. */ getMode(): Promise<SkyDescriptionListModeType>; }