Stryker

UserDetailsController.js - Stryker report

Summary

File
Mutation score
# Killed
# Survived
# Timeout
# No coverage
# Errors
Total detected
Total undetected
Total mutants
UserDetailsController.js
100%
4/4 4 0 0 0 0 4 0 4

Code

angular.module('juiceShop').controller('UserDetailsController', 0[
  '$scope',
  '$uibModal',
  'UserService',
  'id',
  function ($scope, $uibModal, userService, id) 1{
    'use strict'

    userService.get(id).then(function (user) 2{
      $scope.user = user
    }).catch(function (err) 3{
      console.log(err)
    })
  }])