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

Commit 8dca056

Browse files
evalpkozlowski-opensource
authored andcommitted
docs(mocks): fix typos
1 parent 53abd3f commit 8dca056

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ngMock/angular-mocks.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ angular.mock.$ExceptionHandlerProvider = function() {
244244
* - `rethrow`: If any errors are are passed into the handler in tests, it typically
245245
* means that there is a bug in the application or test, so this mock will
246246
* make these tests fail.
247-
* - `log`: Sometimes it is desirable to test that an error is throw, for this case the `log` mode stores an
247+
* - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log` mode stores an
248248
* array of errors in `$exceptionHandler.errors`, to allow later assertion of them.
249249
* See {@link ngMock.$log#assertEmpty assertEmpty()} and
250250
* {@link ngMock.$log#reset reset()}
@@ -1687,7 +1687,7 @@ window.jstestdriver && (function(window) {
16871687
* @name angular.mock.module
16881688
* @description
16891689
*
1690-
* *NOTE*: This is function is also published on window for easy access.<br>
1690+
* *NOTE*: This function is also published on window for easy access.<br>
16911691
*
16921692
* This function registers a module configuration code. It collects the configuration information
16931693
* which will be used when the injector is created by {@link angular.mock.inject inject}.
@@ -1719,7 +1719,7 @@ window.jstestdriver && (function(window) {
17191719
* @name angular.mock.inject
17201720
* @description
17211721
*
1722-
* *NOTE*: This is function is also published on window for easy access.<br>
1722+
* *NOTE*: This function is also published on window for easy access.<br>
17231723
*
17241724
* The inject function wraps a function into an injectable function. The inject() creates new
17251725
* instance of {@link AUTO.$injector $injector} per test, which is then used for

0 commit comments

Comments
 (0)