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:
parent
8972137c29
commit
3a6fcee0e6
|
@ -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 {
|
||||
/**
|
||||
|
|
|
@ -56,7 +56,7 @@ export declare type MetadataOverride<T> = {
|
|||
/** @experimental */
|
||||
export declare function resetFakeAsyncZone(): void;
|
||||
|
||||
/** @experimental */
|
||||
/** @stable */
|
||||
export declare class TestBed implements Injector {
|
||||
ngModule: Type<any>;
|
||||
platform: PlatformRef;
|
||||
|
|
Loading…
Reference in New Issue