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

Commit 64cdbf3

Browse files
misutkamecaitp
authored andcommitted
docs(ngMock): note that inject/module helpers only defined for jasmine / mocha
Closes #8694
1 parent 5bba892 commit 64cdbf3

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
@@ -1996,6 +1996,7 @@ if(window.jasmine || window.mocha) {
19961996
* @description
19971997
*
19981998
* *NOTE*: This function is also published on window for easy access.<br>
1999+
* *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha
19992000
*
20002001
* This function registers a module configuration code. It collects the configuration information
20012002
* which will be used when the injector is created by {@link angular.mock.inject inject}.
@@ -2038,6 +2039,7 @@ if(window.jasmine || window.mocha) {
20382039
* @description
20392040
*
20402041
* *NOTE*: This function is also published on window for easy access.<br>
2042+
* *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha
20412043
*
20422044
* The inject function wraps a function into an injectable function. The inject() creates new
20432045
* instance of {@link auto.$injector $injector} per test, which is then used for

0 commit comments

Comments
 (0)