MockApplicationRef

export class MockApplicationRef

exported from angular2/testing defined in angular2/src/mock/mock_application_ref.ts (line 7)

A no-op implementation of ApplicationRef, useful for testing.

Annotations

@Injectable()


Members

registerBootstrapListener(listener: (ref: ComponentRef) => void) : void

Not Yet Documented

registerDisposeListener(dispose: () => void) : void

Not Yet Documented

bootstrap(componentType: Type, bindings?: Array<Type | Provider | any[]>) : Promise<ComponentRef>

Not Yet Documented

injector : Injector

Not Yet Documented

zone : NgZone

Not Yet Documented

dispose() : void

Not Yet Documented

tick() : void

Not Yet Documented

componentTypes : Type[]

Not Yet Documented