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

Commit c08c281

Browse files
AlexanderLukinFoxandxss
authored andcommitted
docs(testing): fix typo in beforeEach Jasmine method name (#3275)
1 parent acfd22c commit c08c281

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ a#testbed
363363
The metadata lack `imports` because (a) the default testing module configuration already has what `BannerComponent` needs
364364
and (b) `BannerComponent` doesn't interact with any other components.
365365

366-
Call `configureTestingModule` within a `BeforeEach` so that,
366+
Call `configureTestingModule` within a `beforeEach` so that,
367367
before each spec runs, the `TestBed` can reset itself to a base state.
368368
The base state includes a default testing module configuration consisting of the
369369
declarables (components, directives, and pipes) and providers (some of them mocked)
@@ -1843,7 +1843,7 @@ a#testbed-methods
18431843

18441844
Internally, all static methods cover methods of the current runtime `TestBed` instance that is also returned by the `getTestBed()` function.
18451845

1846-
Call `TestBed` methods _within_ a `BeforeEach()` to ensure a fresh start before each individual test.
1846+
Call `TestBed` methods _within_ a `beforeEach()` to ensure a fresh start before each individual test.
18471847

18481848
Here are the most important static methods, in order of likely utility.
18491849
table

0 commit comments

Comments
 (0)