ngMock.service

Service components in ngMock

登录查看完整内容
Name Description
$exceptionHandler

Mock implementation of $exceptionHandler that rethrows or logs errors passed into it. See $exceptionHandlerProvider for configuration information.

$log

Mock implementation of $log that gathers all logged messages in arrays (one array per logging level). These arrays are exposed as logs property of each of the level-specific log function, e.g. for level error the array is exposed as $log.error.logs.

$interval