docs: fix broken link on testing guide (#2887)

This commit is contained in:
ashishg-qburst 2016-11-28 12:39:58 +05:30 committed by Ward Bell
parent f2406efb5d
commit 424645e1df
1 changed files with 1 additions and 1 deletions

View File

@ -1061,7 +1061,7 @@ a(href="#top").to-top Back to top
Testing the actual `DashboardComponent` seemed daunting because it injects the `Router`.
+makeExample('testing/ts/app/dashboard/dashboard.component.ts', 'ctor', 'app/dashboard/dashboard.component.ts (constructor)')(format='.')
:marked
It also injects the `HeroService` but faking that is a [familiar story](#component-with-async-servic).
It also injects the `HeroService` but faking that is a [familiar story](#component-with-async-service).
The `Router` has a complicated API and is entwined with other services and application pre-conditions.
Fortunately, the `DashboardComponent` isn't doing much with the `Router`