docs: fix typo (#24201)

closes #23853

PR Close #24201
This commit is contained in:
Aditya Bhardwaj 2018-05-11 17:57:49 +05:30 committed by Victor Berchet
parent aafb46a8fe
commit 223882aeb6
1 changed files with 2 additions and 3 deletions

View File

@ -204,8 +204,7 @@ The test consumes that spy in the same way it did earlier.
Most test suites in this guide call `beforeEach()` to set the preconditions for each `it()` test Most test suites in this guide call `beforeEach()` to set the preconditions for each `it()` test
and rely on the `TestBed` to create classes and inject services. and rely on the `TestBed` to create classes and inject services.
There's another school of testing that never calls `beforeEach()` and There's another school of testing that never calls `beforeEach()` and prefers to create classes explicitly rather than use the `TestBed`.
and prefers to create classes explicitly rather than use the `TestBed`.
Here's how you might rewrite one of the `MasterService` tests in that style. Here's how you might rewrite one of the `MasterService` tests in that style.
@ -3400,4 +3399,4 @@ accidental corruption of remote resources.
It can even be hard to navigate to the component you want to test. It can even be hard to navigate to the component you want to test.
Because of these many obstacles, you should test DOM interaction Because of these many obstacles, you should test DOM interaction
with unit testing techniques as much as possible. with unit testing techniques as much as possible.