Testability class

Provides testing hooks accessible via JavaScript APIs in the browser.

To access the Testability API from a browser, the TestabilityRegistry must be injected too.

Annotations
  • @sealed

Constructors

Testability(NgZone _ngZone)

Properties

hashCode int
The hash code for this object.
no setterinherited
isStable bool
Whether the framework is no longer anticipating change detection.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
whenStable(void callback()) → void
Registers callback to be invoked when change detection is completed.

Operators

operator ==(Object other) bool
The equality operator.
inherited