W3cubDocs

/Angular 7

@angular/router/testing

package

Entry point exports

NgModules

RouterTestingModule

Sets up the router to be used for testing.

Classes

SpyNgModuleFactoryLoader

Allows to simulate the loading of ng modules in tests.

Functions

setupTestingRouter

Router setup factory function used for testing.

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