mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00: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 |
||
|---|---|---|
| .. | ||
| router_testing_harness.ts | ||
| router_testing_module.ts | ||
| testing.ts | ||