Improve this Doc ngMockE2E
angular-mocks.js in your HTML:
<script src="angular.js"> <script src="angular-mocks.js">
You can download this file from the following places:
- Google CDN
bower install [email protected]
where X.Y.Z is the AngularJS version you are running.
Then load the module in your application by adding it as a dependent module:
With that you're ready to get started!
ngMockE2E is an angular module which contains mocks suitable for end-to-end testing. Currently there is only one mock present in this module - the e2e $httpBackend mock.
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.