Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 507c666

Browse files
committed
docs(ngMock/$exceptionHandler): fix formatting
Too much indentation, made text get formatted as code block.
1 parent 743b33a commit 507c666

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ngMock/angular-mocks.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,13 @@ angular.mock.$ExceptionHandlerProvider = function() {
220220
* @param {string} mode Mode of operation, defaults to `rethrow`.
221221
*
222222
* - `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()}.
226226
* - `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`.
230230
*/
231231
this.mode = function(mode) {
232232

0 commit comments

Comments
 (0)