UNPKG

@skyux/indicators

Version:

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

22 lines (21 loc) 793 B
import { HarnessPredicate, TestElement } from '@angular/cdk/testing'; import { SkyComponentHarness } from '@skyux/core/testing'; import { SkyTextHighlightHarnessFilters } from './text-highlight-harness-filters'; /** * Harness to interact with a text highlight directive in tests. */ export declare class SkyTextHighlightHarness extends SkyComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyTextHighlightHarness` that meets certain criteria. */ static with(filters: SkyTextHighlightHarnessFilters): HarnessPredicate<SkyTextHighlightHarness>; /** * Gets an array of all instances of highlighted text. */ getHighlights(): Promise<TestElement[]>; }