for fixup - keep RootTestComponent around, but deprecate
This commit is contained in:
@ -22,13 +22,21 @@ import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
||||
|
||||
import {DebugElement, DebugElement_} from 'angular2/src/core/debug/debug_element';
|
||||
|
||||
export abstract class ComponentFixture {
|
||||
|
||||
/**
|
||||
* @deprecated Use ComponentFixture
|
||||
*/
|
||||
export abstract class RootTestComponent {
|
||||
debugElement: DebugElement;
|
||||
|
||||
abstract detectChanges(): void;
|
||||
abstract destroy(): void;
|
||||
}
|
||||
|
||||
|
||||
export abstract class ComponentFixture extends RootTestComponent {}
|
||||
|
||||
|
||||
export class ComponentFixture_ extends ComponentFixture {
|
||||
/** @internal */
|
||||
_componentRef: ComponentRef;
|
||||
|
Reference in New Issue
Block a user