From 232196e6b2081747e4eab20569905cff18016273 Mon Sep 17 00:00:00 2001 From: SangKa Date: Sat, 15 Oct 2016 07:12:46 +0800 Subject: [PATCH 1/2] =?UTF-8?q?(=E6=B5=8B=E8=AF=95=E4=B8=80=E7=AB=A0):?= =?UTF-8?q?=E6=96=87=E5=AD=97=E4=BC=98=E5=8C=96=20=E6=B6=88=E9=99=A4?= =?UTF-8?q?=E6=AD=A7=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 30bd50ca8b..6d112fdda6 100644 --- a/public/docs/ts/latest/guide/testing.jade +++ b/public/docs/ts/latest/guide/testing.jade @@ -528,7 +528,7 @@ table(width="100%") for reasons explained [below](#spec-file-location). **将测试spec放到`app/`文件夹下的任何位置。** - `karma.conf.js`告诉`Karma`在这个文件夹中寻找测试spec文件,原因[如下](#spec-file-location)。 + `karma.conf.js`告诉`Karma`在这个文件夹中寻找测试spec文件,原因在 [这里](#spec-file-location) 有所解释。 Add the following code to `app/1st.spec.ts`. From 577490994652311c38f1afac8159218858024ba1 Mon Sep 17 00:00:00 2001 From: SangKa Date: Sat, 15 Oct 2016 07:07:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?(=E6=B5=8B=E8=AF=95=E4=B8=80=E7=AB=A0):?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E5=88=AB=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 6d112fdda6..0c0e1249e2 100644 --- a/public/docs/ts/latest/guide/testing.jade +++ b/public/docs/ts/latest/guide/testing.jade @@ -1495,7 +1495,7 @@ a(href="#top").to-top 回到顶部 The `TestBed.createComponent` is a synchronous method. It assumes that everything it could need is already in memory. - `TestBed.createComponent`时一种同步的方法。它假设所有它需要的资源已经全部在内存。 + `TestBed.createComponent`是一种同步的方法。它假设所有它需要的资源已经全部在内存。 That has been true so far. Each tested component's `@Component` metadata has a `template` property specifying an _inline templates_.