linkTestability
npm Package | @angular/core |
---|---|
Module | import { Testability } from '@angular/core'; |
Source | core/src/testability/testability.ts |
linkOverview
class Testability implements PublicTestability {
constructor(_ngZone: NgZone)
increasePendingRequestCount(): number
decreasePendingRequestCount(): number
isStable(): boolean
whenStable(callback: Function): void
getPendingRequestCount(): number
findProviders(using: any, provider: string, exactMatch: boolean): any[]
}
linkDescription
The Testability service provides testing hooks that can be accessed from the browser and by services such as Protractor. Each bootstrapped Angular application on the page will have an instance of Testability.
linkConstructor
constructor(_ngZone: NgZone)
linkMembers
linkAnnotations
@Injectable()