feat($exceptionHandlerProvider): add mode
In the current angular-mocksSpec, the tests for $exceptionHandlerProvider call `module` to run tests on `$exceptionHandlerProvider.mode()`, but do not call `inject()` to pump the module definitions.
Current behavior draws a distinction between `log` and `rethrow` modes of $exceptionHandler in ngMocks. This unifies the behaviors, with both modes logging the errors while the `log` mode does not throw. Closes #10540
@DavidSouther - thanks for this.
which I will also fix when merging
Gotcha! I see where the merge happened; I'm just so used to seeing the
On Tue Dec 23 2014 at 2:25:56 PM Pete Bacon Darwin firstname.lastname@example.org
Yes, in Angular we don't use GitHub's merge as we rather have a linear git history.