Skip to content

Commit 63c25fd

Browse files
urenmjjbdeboer
authored andcommitted
docs(dev-guide): Fixed a typo.
1 parent 1351ba2 commit 63c25fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/dev_guide.unit-testing.ngdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function MyClass() {
9797

9898
While no new instance of the dependency is being created, it is fundamentally the same as `new`, in
9999
that there is no good way to intercept the call to `global.xhr` for testing purposes, other then
100-
through monkey patching. The basic issue for testing is that global variable needs to be mutated in
100+
through monkey patching. The basic issue for testing is that a global variable needs to be mutated in
101101
order to replace it with call to a mock method. For further explanation why this is bad see: {@link
102102
http://misko.hevery.com/code-reviewers-guide/flaw-brittle-global-state-singletons/ Brittle Global
103103
State & Singletons}

0 commit comments

Comments
 (0)