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

Commit 05791c0

Browse files
misutkamecaitp
authored andcommitted
docs(ngMock): note that inject/module helpers only defined for jasmine / mocha
Closes #8694
1 parent 00d5fde commit 05791c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ngMock/angular-mocks.js

+2
Original file line numberDiff line numberDiff line change
@@ -2074,6 +2074,7 @@ if(window.jasmine || window.mocha) {
20742074
* @description
20752075
*
20762076
* *NOTE*: This function is also published on window for easy access.<br>
2077+
* *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha
20772078
*
20782079
* This function registers a module configuration code. It collects the configuration information
20792080
* which will be used when the injector is created by {@link angular.mock.inject inject}.
@@ -2116,6 +2117,7 @@ if(window.jasmine || window.mocha) {
21162117
* @description
21172118
*
21182119
* *NOTE*: This function is also published on window for easy access.<br>
2120+
* *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha
21192121
*
21202122
* The inject function wraps a function into an injectable function. The inject() creates new
21212123
* instance of {@link auto.$injector $injector} per test, which is then used for

0 commit comments

Comments
 (0)