Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 2ad7bb9

Browse files
committed
docs(guide/unit-testing): fix small typo (than instead of then)
1 parent 3878be5 commit 2ad7bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/unit-testing.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function MyClass() {
9696
```
9797

9898
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
99+
that no way exists to intercept the call to `global.xhr` for testing purposes, other than
100100
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 of why this is bad see: [Brittle Global
102102
State & Singletons](http://misko.hevery.com/code-reviewers-guide/flaw-brittle-global-state-singletons/)

0 commit comments

Comments
 (0)