2017-12-15 12:58:42 -05:00
|
|
|
export declare class RouterTestingModule {
|
2018-07-09 14:36:30 -04:00
|
|
|
static withRoutes(routes: Routes, config?: ExtraOptions): ModuleWithProviders<RouterTestingModule>;
|
2017-12-15 12:58:42 -05:00
|
|
|
}
|
|
|
|
|
2017-12-20 14:54:22 -05:00
|
|
|
export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], opts?: ExtraOptions, urlHandlingStrategy?: UrlHandlingStrategy): Router;
|
2018-03-09 09:45:11 -05:00
|
|
|
export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy): Router;
|
2017-12-15 12:58:42 -05:00
|
|
|
|
|
|
|
export declare class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {
|
|
|
|
stubbedModules: {
|
|
|
|
[path: string]: any;
|
|
|
|
};
|
|
|
|
constructor(compiler: Compiler);
|
|
|
|
load(path: string): Promise<NgModuleFactory<any>>;
|
|
|
|
}
|