ci: add router/testing to public API guard
This commit is contained in:

committed by
Alex Rickabaugh

parent
4a3a74b7b0
commit
4a49e19bd7
16
tools/public_api_guard/router/testing.d.ts
vendored
Normal file
16
tools/public_api_guard/router/testing.d.ts
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
/** @stable */
|
||||
export declare class RouterTestingModule {
|
||||
static withRoutes(routes: Routes): ModuleWithProviders;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy): Router;
|
||||
|
||||
/** @stable */
|
||||
export declare class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {
|
||||
stubbedModules: {
|
||||
[path: string]: any;
|
||||
};
|
||||
constructor(compiler: Compiler);
|
||||
load(path: string): Promise<NgModuleFactory<any>>;
|
||||
}
|
Reference in New Issue
Block a user