From 738b714bd36e3e3f600eb941bdb25843d6a2c255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Rodr=C3=ADguez?= Date: Sun, 25 Sep 2016 23:12:04 +0100 Subject: [PATCH] docs(testing): change createInstance to createComponent (#2475) --- 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 88360a3afe..7a99679ff4 100644 --- a/public/docs/ts/latest/guide/testing.jade +++ b/public/docs/ts/latest/guide/testing.jade @@ -880,7 +880,7 @@ a(href="#top").to-top Back to top :marked Do not configure the `TestBed` after calling `compileComponents`. Make `compileComponents` the last step - before calling `TestBed.createInstance` to instantiate the _component-under-test_. + before calling `TestBed.createComponent` to instantiate the _component-under-test_. :marked The `DashboardHeroComponent` spec follows the asynchonous `beforeEach` with a _synchronous_ `beforeEach` that completes the setup steps and runs tests ... as described in the next section.