File |
Mutation score |
# Killed |
# Survived |
# Timeout |
# No coverage |
# Errors |
Total detected |
Total undetected |
Total mutants |
|
---|---|---|---|---|---|---|---|---|---|---|
AdministrationService.js |
|
6/6 | 6 | 0 | 0 | 0 | 0 | 6 | 0 | 6 |
angular.module('juiceShop').factory('AdministrationService', 0[]['$http', '$q', function ($http, $q) 1{
}{
'use strict'
var host = '/rest/admin'
function getApplicationVersion () 2{
}{
var version = $q.defer()
$http.get(3host - '/application-version'host + '/application-version').success(function (data) 4{
}{
version.resolve(data.version)
}).error(function (err) 5{
}{
version.reject(err)
})
return version.promise
}
return {
getApplicationVersion: getApplicationVersion
}
}])