mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(mocks): fix typos
This commit is contained in:
parent
53abd3fba7
commit
8dca0561e8
1 changed files with 3 additions and 3 deletions
6
src/ngMock/angular-mocks.js
vendored
6
src/ngMock/angular-mocks.js
vendored
|
|
@ -244,7 +244,7 @@ angular.mock.$ExceptionHandlerProvider = function() {
|
|||
* - `rethrow`: If any errors are are passed into the handler in tests, it typically
|
||||
* means that there is a bug in the application or test, so this mock will
|
||||
* make these tests fail.
|
||||
* - `log`: Sometimes it is desirable to test that an error is throw, for this case the `log` mode stores an
|
||||
* - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log` mode stores an
|
||||
* array of errors in `$exceptionHandler.errors`, to allow later assertion of them.
|
||||
* See {@link ngMock.$log#assertEmpty assertEmpty()} and
|
||||
* {@link ngMock.$log#reset reset()}
|
||||
|
|
@ -1687,7 +1687,7 @@ window.jstestdriver && (function(window) {
|
|||
* @name angular.mock.module
|
||||
* @description
|
||||
*
|
||||
* *NOTE*: This is function is also published on window for easy access.<br>
|
||||
* *NOTE*: This function is also published on window for easy access.<br>
|
||||
*
|
||||
* This function registers a module configuration code. It collects the configuration information
|
||||
* which will be used when the injector is created by {@link angular.mock.inject inject}.
|
||||
|
|
@ -1719,7 +1719,7 @@ window.jstestdriver && (function(window) {
|
|||
* @name angular.mock.inject
|
||||
* @description
|
||||
*
|
||||
* *NOTE*: This is function is also published on window for easy access.<br>
|
||||
* *NOTE*: This function is also published on window for easy access.<br>
|
||||
*
|
||||
* The inject function wraps a function into an injectable function. The inject() creates new
|
||||
* instance of {@link AUTO.$injector $injector} per test, which is then used for
|
||||
|
|
|
|||
Loading…
Reference in a new issue