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