mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: add missing word on components-scenarios.md (#59681)
PR Close #59681
This commit is contained in:
parent
f68e81ea2c
commit
6d9bc7654d
1 changed files with 1 additions and 1 deletions
|
|
@ -554,7 +554,7 @@ It confirms that the selected `DashboardHeroComponent` hero really does find its
|
|||
A *routing component* is a component that tells the `Router` to navigate to another component.
|
||||
The `DashboardComponent` is a *routing component* because the user can navigate to the `HeroDetailComponent` by clicking on one of the *hero buttons* on the dashboard.
|
||||
|
||||
Angular provides test helpers to reduce boilerplate and more effectively test code which depends `HttpClient`. The `provideRouter` function can be used directly in the test module as well.
|
||||
Angular provides test helpers to reduce boilerplate and more effectively test code which depends on `HttpClient`. The `provideRouter` function can be used directly in the test module as well.
|
||||
|
||||
<docs-code header="app/dashboard/dashboard.component.spec.ts" path="adev/src/content/examples/testing/src/app/dashboard/dashboard.component.spec.ts" visibleRegion="router-harness"/>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue