setupTestingRouter()
setupTestingRouter
Stable Function
Class Export
export setupTestingRouter(urlSerializer: UrlSerializer, outletMap: RouterOutletMap, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy)
Router setup factory function used for testing.
exported from router-testing-index defined in router/testing/src/router_testing_module.ts
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/router/testing/index/setupTestingRouter-function.html