Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 738b714

Browse files
Foxandxsswardbell
authored andcommitted
docs(testing): change createInstance to createComponent (#2475)
1 parent 3ee1978 commit 738b714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/ts/latest/guide/testing.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ a(href="#top").to-top Back to top
880880
:marked
881881
Do not configure the `TestBed` after calling `compileComponents`.
882882
Make `compileComponents` the last step
883-
before calling `TestBed.createInstance` to instantiate the _component-under-test_.
883+
before calling `TestBed.createComponent` to instantiate the _component-under-test_.
884884
:marked
885885
The `DashboardHeroComponent` spec follows the asynchonous `beforeEach` with a
886886
_synchronous_ `beforeEach` that completes the setup steps and runs tests ... as described in the next section.

0 commit comments

Comments
 (0)