ngMock
Name | Description |
---|---|
$exceptionHandler | Mock implementation of |
$log | Mock implementation of |
$interval | Mock implementation of the $interval service. |
$animate | Mock implementation of the |
$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 |
$componentController | A service that can be used to create instances of component controllers.
Be aware that the controller will be instantiated and attached to the scope as specified in
the component definition object. If you do not provide a $scope object in the locals param
then the helper will create a new isolated scope as a child of $rootScope .
|