W3cubDocs

/Angular.js 1.8

Function components in ngMock

Name Description
angular.mock.dump

NOTE: This is not an injectable instance, just a globally available function.

angular.mock.module

NOTE: This function is also published on window for easy access.
NOTE: This function is declared ONLY WHEN running tests with jasmine or mocha

angular.mock.module.sharedInjector

NOTE: This function is declared ONLY WHEN running tests with jasmine or mocha

angular.mock.inject

NOTE: This function is also published on window for easy access.
NOTE: This function is declared ONLY WHEN running tests with jasmine or mocha

browserTrigger

This is a global (window) function that is only available when the ngMock module is included.

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.
https://code.angularjs.org/1.8.2/docs/api/ngMock/function