@@ -184,7 +184,7 @@ angular.mock.$Browser.prototype = {
184
184
*
185
185
* @description
186
186
* Configures the mock implementation of {@link ng.$exceptionHandler} to rethrow or to log errors
187
- * passed into the `$exceptionHandler`.
187
+ * passed to the `$exceptionHandler`.
188
188
*/
189
189
190
190
/**
@@ -193,7 +193,7 @@ angular.mock.$Browser.prototype = {
193
193
*
194
194
* @description
195
195
* Mock implementation of {@link ng.$exceptionHandler} that rethrows or logs errors passed
196
- * into it. See {@link ngMock.$exceptionHandlerProvider $exceptionHandlerProvider} for configuration
196
+ * to it. See {@link ngMock.$exceptionHandlerProvider $exceptionHandlerProvider} for configuration
197
197
* information.
198
198
*
199
199
*
@@ -233,9 +233,8 @@ angular.mock.$ExceptionHandlerProvider = function() {
233
233
*
234
234
* @param {string } mode Mode of operation, defaults to `rethrow`.
235
235
*
236
- * - `rethrow`: If any errors are passed into the handler in tests, it typically
237
- * means that there is a bug in the application or test, so this mock will
238
- * make these tests fail.
236
+ * - `rethrow`: If any errors are passed to the handler in tests, it typically means that there
237
+ * is a bug in the application or test, so this mock will make these tests fail.
239
238
* - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log`
240
239
* mode stores an array of errors in `$exceptionHandler.errors`, to allow later
241
240
* assertion of them. See {@link ngMock.$log#assertEmpty assertEmpty()} and
@@ -326,7 +325,7 @@ angular.mock.$LogProvider = function() {
326
325
* @name $log#log.logs
327
326
*
328
327
* @description
329
- * Array of messages logged using {@link ngMock.$log#log}.
328
+ * Array of messages logged using {@link ngMock.$log#log log() }.
330
329
*
331
330
* @example
332
331
* ```js
@@ -340,7 +339,7 @@ angular.mock.$LogProvider = function() {
340
339
* @name $log#info.logs
341
340
*
342
341
* @description
343
- * Array of messages logged using {@link ngMock.$log#info}.
342
+ * Array of messages logged using {@link ngMock.$log#info info() }.
344
343
*
345
344
* @example
346
345
* ```js
@@ -354,7 +353,7 @@ angular.mock.$LogProvider = function() {
354
353
* @name $log#warn.logs
355
354
*
356
355
* @description
357
- * Array of messages logged using {@link ngMock.$log#warn}.
356
+ * Array of messages logged using {@link ngMock.$log#warn warn() }.
358
357
*
359
358
* @example
360
359
* ```js
@@ -368,7 +367,7 @@ angular.mock.$LogProvider = function() {
368
367
* @name $log#error.logs
369
368
*
370
369
* @description
371
- * Array of messages logged using {@link ngMock.$log#error}.
370
+ * Array of messages logged using {@link ngMock.$log#error error() }.
372
371
*
373
372
* @example
374
373
* ```js
@@ -382,7 +381,7 @@ angular.mock.$LogProvider = function() {
382
381
* @name $log#debug.logs
383
382
*
384
383
* @description
385
- * Array of messages logged using {@link ngMock.$log#debug}.
384
+ * Array of messages logged using {@link ngMock.$log#debug debug() }.
386
385
*
387
386
* @example
388
387
* ```js
@@ -398,8 +397,8 @@ angular.mock.$LogProvider = function() {
398
397
* @name $log#assertEmpty
399
398
*
400
399
* @description
401
- * Assert that the all of the logging methods have no logged messages. If messages present, an
402
- * exception is thrown.
400
+ * Assert that all of the logging methods have no logged messages. If any messages are present,
401
+ * an exception is thrown.
403
402
*/
404
403
$log . assertEmpty = function ( ) {
405
404
var errors = [ ] ;
0 commit comments