@@ -194,7 +194,7 @@ angular.mock.$Browser.prototype = {
194
194
*
195
195
* @description
196
196
* Configures the mock implementation of {@link ng.$exceptionHandler} to rethrow or to log errors
197
- * passed into the `$exceptionHandler`.
197
+ * passed to the `$exceptionHandler`.
198
198
*/
199
199
200
200
/**
@@ -203,7 +203,7 @@ angular.mock.$Browser.prototype = {
203
203
*
204
204
* @description
205
205
* Mock implementation of {@link ng.$exceptionHandler} that rethrows or logs errors passed
206
- * into it. See {@link ngMock.$exceptionHandlerProvider $exceptionHandlerProvider} for configuration
206
+ * to it. See {@link ngMock.$exceptionHandlerProvider $exceptionHandlerProvider} for configuration
207
207
* information.
208
208
*
209
209
*
@@ -243,9 +243,8 @@ angular.mock.$ExceptionHandlerProvider = function() {
243
243
*
244
244
* @param {string } mode Mode of operation, defaults to `rethrow`.
245
245
*
246
- * - `rethrow`: If any errors are passed into the handler in tests, it typically
247
- * means that there is a bug in the application or test, so this mock will
248
- * make these tests fail.
246
+ * - `rethrow`: If any errors are passed to the handler in tests, it typically means that there
247
+ * is a bug in the application or test, so this mock will make these tests fail.
249
248
* - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log`
250
249
* mode stores an array of errors in `$exceptionHandler.errors`, to allow later
251
250
* assertion of them. See {@link ngMock.$log#assertEmpty assertEmpty()} and
@@ -336,7 +335,7 @@ angular.mock.$LogProvider = function() {
336
335
* @name $log#log.logs
337
336
*
338
337
* @description
339
- * Array of messages logged using {@link ngMock .$log#log}.
338
+ * Array of messages logged using {@link ng .$log#log log() }.
340
339
*
341
340
* @example
342
341
* ```js
@@ -350,7 +349,7 @@ angular.mock.$LogProvider = function() {
350
349
* @name $log#info.logs
351
350
*
352
351
* @description
353
- * Array of messages logged using {@link ngMock .$log#info}.
352
+ * Array of messages logged using {@link ng .$log#info info() }.
354
353
*
355
354
* @example
356
355
* ```js
@@ -364,7 +363,7 @@ angular.mock.$LogProvider = function() {
364
363
* @name $log#warn.logs
365
364
*
366
365
* @description
367
- * Array of messages logged using {@link ngMock .$log#warn}.
366
+ * Array of messages logged using {@link ng .$log#warn warn() }.
368
367
*
369
368
* @example
370
369
* ```js
@@ -378,7 +377,7 @@ angular.mock.$LogProvider = function() {
378
377
* @name $log#error.logs
379
378
*
380
379
* @description
381
- * Array of messages logged using {@link ngMock .$log#error}.
380
+ * Array of messages logged using {@link ng .$log#error error() }.
382
381
*
383
382
* @example
384
383
* ```js
@@ -392,7 +391,7 @@ angular.mock.$LogProvider = function() {
392
391
* @name $log#debug.logs
393
392
*
394
393
* @description
395
- * Array of messages logged using {@link ngMock .$log#debug}.
394
+ * Array of messages logged using {@link ng .$log#debug debug() }.
396
395
*
397
396
* @example
398
397
* ```js
@@ -408,8 +407,8 @@ angular.mock.$LogProvider = function() {
408
407
* @name $log#assertEmpty
409
408
*
410
409
* @description
411
- * Assert that the all of the logging methods have no logged messages. If messages present, an
412
- * exception is thrown.
410
+ * Assert that all of the logging methods have no logged messages. If any messages are present,
411
+ * an exception is thrown.
413
412
*/
414
413
$log . assertEmpty = function ( ) {
415
414
var errors = [ ] ;
0 commit comments