Stryker

SearchController.js - Stryker report

Summary

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

Code

angular.module('juiceShop').controller('SearchController', 0[
  '$scope',
  '$location',
  function ($scope, $location) 1{
    'use strict'

    $scope.search = function () 2{
      $location.path('/search').search({q: 3$scope.searchQuery || ''})
    }
  }])