docs(core): mark TestBed as stable api and add preliminary docs (#11767)

TestBed was accidentaly ommited from the 'stable' api list during the API sweep before final. We do consider it to be stable.
This commit is contained in:
Igor Minar 2016-09-22 10:32:17 -07:00 committed by Rado Kirov
parent 8972137c29
commit 3a6fcee0e6
2 changed files with 8 additions and 2 deletions

View File

@ -47,7 +47,13 @@ export type TestModuleMetadata = {
}; };
/** /**
* @experimental * @whatItDoes Configures and initializes environment for unit testing and provides methods for
* creating components and services in unit tests.
* @description
*
* TestBed is the primary api for writing unit tests for Angular applications and libraries.
*
* @stable
*/ */
export class TestBed implements Injector { export class TestBed implements Injector {
/** /**

View File

@ -56,7 +56,7 @@ export declare type MetadataOverride<T> = {
/** @experimental */ /** @experimental */
export declare function resetFakeAsyncZone(): void; export declare function resetFakeAsyncZone(): void;
/** @experimental */ /** @stable */
export declare class TestBed implements Injector { export declare class TestBed implements Injector {
ngModule: Type<any>; ngModule: Type<any>;
platform: PlatformRef; platform: PlatformRef;