angular / 14.0.0 / api / router / testing.html /

@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.

Functions

setupTestingRouter

Router setup factory function used for testing.

setupTestingRouterInternal

Router setup factory function used for testing. Only used internally to keep the factory that's marked as publicApi cleaner (i.e. not having both TitleStrategy and DefaultTitleStrategy).

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