docs: update link to jasmine documentation about spies (#42463)
PR Close #42463
This commit is contained in:
parent
3d1c905c91
commit
71fa896a91
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue