File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
-
2
1
/**
3
2
* @license AngularJS v"NG_VERSION_FULL"
4
3
* (c) 2010-2012 Google, Inc. http://angularjs.org
@@ -221,8 +220,8 @@ angular.mock.$ExceptionHandlerProvider = function() {
221
220
* - `rethrow`: If any errors are are passed into the handler in tests, it typically
222
221
* means that there is a bug in the application or test, so this mock will
223
222
* make these tests fail.
224
- * - `log`: Sometimes it is desirable to test that an error is throw, for this case the `log` mode stores the
225
- * error and allows later assertion of it .
223
+ * - `log`: Sometimes it is desirable to test that an error is throw, for this case the `log` mode stores an
224
+ * array of errors in `$exceptionHandler.errors`, to allow later assertion of them .
226
225
* See {@link ngMock.$log#assertEmpty assertEmpty()} and
227
226
* {@link ngMock.$log#reset reset()}
228
227
*/
You can’t perform that action at this time.
0 commit comments