From c8a6c04034571250fe5cd33a3f086cd5fb07ea32 Mon Sep 17 00:00:00 2001 From: mishoo78 Date: Wed, 20 Aug 2014 19:27:07 +0300 Subject: [PATCH] Update angular-mocks.js --- src/ngMock/angular-mocks.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ngMock/angular-mocks.js b/src/ngMock/angular-mocks.js index e3be73835e4d..f8945f9f36a3 100644 --- a/src/ngMock/angular-mocks.js +++ b/src/ngMock/angular-mocks.js @@ -2074,6 +2074,7 @@ if(window.jasmine || window.mocha) { * @description * * *NOTE*: This function is also published on window for easy access.
+ * *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha * * 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}. @@ -2116,6 +2117,7 @@ if(window.jasmine || window.mocha) { * @description * * *NOTE*: This function is also published on window for easy access.
+ * *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha * * 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