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 @angular-router-testing-index defined in @angular/router/testing/router_testing_module.ts