W3cubDocs

/Angular 12

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