UNPKG

@skyux/indicators

Version:

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

31 lines (30 loc) 813 B
import { ComponentFixture } from '@angular/core/testing'; /** * Allows interaction with a SKY UX alert component. * @deprecated Use `SkyAlertHarness` instead. * @internal */ export declare class SkyAlertFixture { #private; /** * The alert's current text. */ get text(): string | undefined; /** * A flag indicating whether the alert can be closed. */ get closeable(): boolean | undefined; /** * Returns a flag indicating whether the alert is closed. */ get closed(): boolean; /** * The alert's current type. */ get alertType(): string | undefined; constructor(fixture: ComponentFixture<unknown>, skyTestId: string); /** * Closes the alert. If the alert is not closeable, an error is thrown. */ close(): void; }