From da2737fac36a27ef204b12f2a19923aaf97d880c Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Sat, 17 Sep 2016 14:50:36 -0700 Subject: [PATCH] docs(testing): more scenarios --- .../docs/_examples/testing/ts/app-specs.html | 1 + .../testing/ts/app/about.component.spec.ts | 26 ++ .../testing/ts/app/about.component.ts | 7 +- .../testing/ts/app/app-routing.module.ts | 16 + .../testing/ts/app/app.component.html | 1 + .../testing/ts/app/app.component.spec.ts | 161 ++++++---- .../_examples/testing/ts/app/app.component.ts | 3 +- .../_examples/testing/ts/app/app.module.ts | 10 +- .../app/dashboard/dashboard.component.spec.ts | 2 +- .../ts/app/dashboard/dashboard.component.ts | 5 +- .../ts/app/hero/hero-detail.component.spec.ts | 2 +- .../ts/app/hero/hero-detail.component.ts | 5 +- .../ts/app/hero/hero-list.component.spec.ts | 2 +- .../ts/app/hero/hero-list.component.ts | 5 +- .../ts/app/shared/highlight.directive.spec.ts | 94 ++++-- .../ts/app/shared/highlight.directive.ts | 12 +- .../testing/ts/app/shared/styles.css | 1 - .../testing/ts/testing/router-stubs.ts | 18 +- public/docs/ts/latest/guide/testing.jade | 298 +++++++++++++++--- .../testing/highlight-directive-spec.png | Bin 0 -> 7965 bytes 20 files changed, 489 insertions(+), 180 deletions(-) create mode 100644 public/docs/_examples/testing/ts/app/about.component.spec.ts create mode 100644 public/docs/_examples/testing/ts/app/app-routing.module.ts delete mode 100644 public/docs/_examples/testing/ts/app/shared/styles.css create mode 100644 public/resources/images/devguide/testing/highlight-directive-spec.png diff --git a/public/docs/_examples/testing/ts/app-specs.html b/public/docs/_examples/testing/ts/app-specs.html index 276659e26b..c41fbf88ea 100644 --- a/public/docs/_examples/testing/ts/app-specs.html +++ b/public/docs/_examples/testing/ts/app-specs.html @@ -30,6 +30,7 @@