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.

Annotations

Constructors

Testability(NgZone _ngZone)

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

decreasePendingRequestCount() → num

findBindings(using, String provider, bool exactMatch) → List

findProviders(using, String provider, bool exactMatch) → List

getPendingRequestCount() → num

increasePendingRequestCount() → num

isStable() → bool

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited
whenStable(Function callback) → void