This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -220,13 +220,13 @@ angular.mock.$ExceptionHandlerProvider = function() {
220
220
* @param {string } mode Mode of operation, defaults to `rethrow`.
221
221
*
222
222
* - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log`
223
- * mode stores an array of errors in `$exceptionHandler.errors`, to allow later
224
- * assertion of them. See {@link ngMock.$log#assertEmpty assertEmpty()} and
225
- * {@link ngMock.$log#reset reset()}
223
+ * mode stores an array of errors in `$exceptionHandler.errors`, to allow later assertion of
224
+ * them. See {@link ngMock.$log#assertEmpty assertEmpty()} and
225
+ * {@link ngMock.$log#reset reset()}.
226
226
* - `rethrow`: If any errors are passed to the handler in tests, it typically means that there
227
- * is a bug in the application or test, so this mock will make these tests fail.
228
- * For any implementations that expect exceptions to be thrown, the `rethrow` mode
229
- * will also maintain a log of thrown errors.
227
+ * is a bug in the application or test, so this mock will make these tests fail. For any
228
+ * implementations that expect exceptions to be thrown, the `rethrow` mode will also maintain
229
+ * a log of thrown errors in `$exceptionHandler.errors` .
230
230
*/
231
231
this . mode = function ( mode ) {
232
232
You can’t perform that action at this time.
0 commit comments