From a14ecb49c709b2143a02722f2768b34ddd1a862f Mon Sep 17 00:00:00 2001 From: ash Date: Mon, 28 Nov 2016 09:59:36 +0530 Subject: [PATCH] docs: fix broken link on testing guide --- public/docs/ts/latest/guide/testing.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/guide/testing.jade b/public/docs/ts/latest/guide/testing.jade index 2c2d1bc0b3..e85bb41fc3 100644 --- a/public/docs/ts/latest/guide/testing.jade +++ b/public/docs/ts/latest/guide/testing.jade @@ -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`