From c659c333ae08c6c3e7a56d1b7882c96aa8bed27d Mon Sep 17 00:00:00 2001 From: matthewhegarty Date: Mon, 19 Sep 2016 13:01:30 +0100 Subject: [PATCH] Fixed typo which was referring to 'imports' section and not 'setup' section --- 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 3e61e0023a..b6d63193c5 100644 --- a/public/docs/ts/latest/guide/testing.jade +++ b/public/docs/ts/latest/guide/testing.jade @@ -438,7 +438,7 @@ a#simple-component-test +makeExample('testing/ts/app/banner.component.spec.ts', 'imports', 'app/banner.component.spec.ts (imports)')(format='.') :marked Here's the setup for the tests followed by observations about the `beforeEach`: -+makeExample('testing/ts/app/banner.component.spec.ts', 'setup', 'app/banner.component.spec.ts (imports)')(format='.') ++makeExample('testing/ts/app/banner.component.spec.ts', 'setup', 'app/banner.component.spec.ts (setup)')(format='.') :marked `TestBed.configureTestingModule` takes an `@NgModule`-like metadata object. This one simply declares the component to test, `BannerComponent`.