docs(guide/unit-testing): fix small typo (than instead of then)

This commit is contained in:
Lefteris Paraskevas
2014-04-10 00:27:13 +01:00
parent 3878be52f6
commit 2ad7bb9ca9

View File

@@ -96,7 +96,7 @@ function MyClass() {
```
While no new dependency instance is created, it is fundamentally the same as `new` in
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
through monkey patching. The basic issue for testing is that a global variable needs to be mutated in
order to replace it with call to a mock method. For further explanation of why this is bad see: [Brittle Global
State & Singletons](http://misko.hevery.com/code-reviewers-guide/flaw-brittle-global-state-singletons/)