W3cubDocs

/Angular

@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

RouterTestingHarness

A testing harness for the Router to reduce the boilerplate needed to test routes and routed components.

Functions

setupTestingRouter

Deprecated: Use provideRouter or RouterModule instead.

Router setup factory function used for testing.

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