angularjs-testbed
Version:
Testing abstraction library inspired by [@angular/core/testing](https://angular.io/api/core/testing) for angularjs projects written in typescript with decorators
27 lines (26 loc) • 695 B
TypeScript
import { DebugElement } from './DebugElement';
export declare class ComponentFixture<T> {
private element;
/**
* The DebugElement associated with the root element of this component.
*/
debugElement: DebugElement;
/**
* The instance of the root component class.
*/
componentInstance: T;
/**
* The native element at the root of the component.
*/
nativeElement: HTMLElement;
private _isDestroyed;
constructor(element: JQLite);
/**
* Trigger a change detection cycle for the component.
*/
detectChanges(): void;
/**
* Trigger component destruction.
*/
destroy(): void;
}