Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3878be5 commit 2ad7bb9Copy full SHA for 2ad7bb9
docs/content/guide/unit-testing.ngdoc
@@ -96,7 +96,7 @@ function MyClass() {
96
```
97
98
While no new dependency instance is created, it is fundamentally the same as `new` in
99
-that no way exists to intercept the call to `global.xhr` for testing purposes, other then
+that no way exists to intercept the call to `global.xhr` for testing purposes, other than
100
through monkey patching. The basic issue for testing is that a global variable needs to be mutated in
101
order to replace it with call to a mock method. For further explanation of why this is bad see: [Brittle Global
102
State & Singletons](http://misko.hevery.com/code-reviewers-guide/flaw-brittle-global-state-singletons/)
0 commit comments