Service components in ngMock
Name | Description |
---|---|
$exceptionHandler |
Mock implementation of |
$log |
Mock implementation of |
$interval |
Mock implementation of the $interval service. |
$httpBackend |
Fake HTTP backend implementation suitable for unit testing applications that use the $http service. |
$timeout |
This service is just a simple decorator for $timeout service that adds a "flush" and "verifyNoPendingTasks" methods. |
$controller |
A decorator for |
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.3.20/docs/api/ngMock/service