W3cubDocs

/Angular 10

@angular/router/testing

entry-point

Supplies a testing module for the Angular Router subsystem.

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–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/router/testing