diff --git a/aio/content/guide/testing.md b/aio/content/guide/testing.md index 0acff26bf1..1efa71d480 100644 --- a/aio/content/guide/testing.md +++ b/aio/content/guide/testing.md @@ -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 and rely on the `TestBed` to create classes and inject services. -There's another school of testing that never calls `beforeEach()` and -and prefers to create classes explicitly rather than use the `TestBed`. +There's another school of testing that never calls `beforeEach()` 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. @@ -3400,4 +3399,4 @@ accidental corruption of remote resources. It can even be hard to navigate to the component you want to test. Because of these many obstacles, you should test DOM interaction -with unit testing techniques as much as possible. \ No newline at end of file +with unit testing techniques as much as possible.