setupTestingRouter

function

npm Package @angular/router
Module import { setupTestingRouter } from '@angular/router/testing';
Source router/testing/src/router_testing_module.ts

function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy);

Description

Router setup factory function used for testing.

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/router/testing/setupTestingRouter