mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
85a932cc80
The `setupTestingRouter` function is not necessary. The `Router` can be fully initialized through the DI configuration in the same way as it is in production. Tests should use `provideRouter` or `RouterTestingModule`. PR Close #48008
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT