UNPKG

@skyux/indicators

Version:

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

32 lines (31 loc) 973 B
import { HarnessPredicate } from '@angular/cdk/testing'; import { SkyComponentHarness } from '@skyux/core/testing'; import { SkyKeyInfoLayoutType } from '@skyux/indicators'; import { SkyKeyInfoHarnessFilters } from './key-info-harness-filters'; /** * Harness for interacting with a key info component in tests. */ export declare class SkyKeyInfoHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyKeyInfoHarness` that meets certain criteria. */ static with(filters: SkyKeyInfoHarnessFilters): HarnessPredicate<SkyKeyInfoHarness>; /** * Gets the current value text. */ getValueText(): Promise<string>; /** * Gets the current label text. */ getLabelText(): Promise<string>; /** * Gets the current layout type. */ getLayout(): Promise<SkyKeyInfoLayoutType>; }