angular_test library

Classes

FakeTimeNgZoneStabilizer
Observes NgZone, a custom parent zone, and custom hooks to stabilize.
NgTestBed<T extends Object>
An immutable builder for creating a pre-configured AngularDart application.
NgTestFixture<T>
NgTestStabilizer
Abstraction around services that change the state of the DOM asynchronously.
RealTimeNgZoneStabilizer
Observes NgZone and custom parent zone to stabilize.
TimerHookZone
Creates a context for capturing timer instances.

Functions

composeStabilizers(Iterable<NgTestStabilizerFactory> factories) NgTestStabilizerFactory
Returns a composed sequence of factories as a single stabilizer.
disposeAnyRunningTest() Future<void>
If any NgTestFixture is currently executing, calls dispose on it.

Typedefs

NgTestStabilizerFactory = NgTestStabilizer Function(Injector)
Creates a NgTestStabilizer, optionally from an Injector.

Exceptions / Errors

TestAlreadyRunningError