mirror of
https://github.com/angular/angular.git
synced 2026-11-23 23:17:50 -05:00
The `setupTestingRouter` function is a factory function for creating a new instance of the `Router`. This function is effectively a no-op. Developers should use `RouterModule.forRoot` or `provideRouter` in tests instead. BREAKING CHANGE: The `setupTestingRouter` function has been removed. Use `RouterModule.forRoot` or `provideRouter` to setup the `Router` for tests instead. PR Close #51826