From 7baf45fe88d832e9a54110da62982cec84f71d17 Mon Sep 17 00:00:00 2001 From: Amadou Sall Date: Fri, 22 Mar 2019 11:24:04 +0100 Subject: [PATCH] docs: fix minor typo in testing.md (#29464) PR Close #29464 --- aio/content/guide/testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/testing.md b/aio/content/guide/testing.md index a94fe23bd1..d0ef1a99f3 100644 --- a/aio/content/guide/testing.md +++ b/aio/content/guide/testing.md @@ -289,7 +289,7 @@ written without assistance from Angular testing utilities. #### Services with dependencies Services often depend on other services that Angular injects into the constructor. -In many cases, it easy to create and _inject_ these dependencies by hand while +In many cases, it's easy to create and _inject_ these dependencies by hand while calling the service's constructor. The `MasterService` is a simple example: @@ -318,7 +318,7 @@ Prefer spies as they are usually the easiest way to mock services. These standard testing techniques are great for unit testing services in isolation. -However, you almost always inject service into application classes using Angular +However, you almost always inject services into application classes using Angular dependency injection and you should have tests that reflect that usage pattern. Angular testing utilities make it easy to investigate how injected services behave.