docs: update link to jasmine documentation about spies (#42463)

PR Close #42463
This commit is contained in:
David Shevitz 2021-06-03 05:27:49 +00:00 committed by Jessica Janiuk
parent 3d1c905c91
commit 71fa896a91
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ The first test creates a `ValueService` with `new` and passes it to the `MasterS
However, injecting the real service rarely works well as most dependent services are difficult to create and control. However, injecting the real service rarely works well as most dependent services are difficult to create and control.
Instead you can mock the dependency, use a dummy value, or create a Instead you can mock the dependency, use a dummy value, or create a
[spy](https://jasmine.github.io/2.0/introduction.html#section-Spies) [spy](https://jasmine.github.io/tutorials/your_first_suite#section-Spies)
on the pertinent service method. on the pertinent service method.
<div class="alert is-helpful"> <div class="alert is-helpful">