Code coverage report for src\components\filters-user\filters-user.js

# all files / src/components/filters-user/ filters-user.js

40% Statements 4/10
100% Branches 0/0
25% Functions 1/4
40% Lines 4/10

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    291×
    1×

    1×

    1×

     (function component(ng) {
      ng.module('components')
        .component('exFiltersUser', {
          templateUrl: './components/filters-user/filters-user.html',
          controller: filtersUserCtrl,
          controllerAs: 'vm',
          bindings: {

          }
        });

      filtersUserCtrl.$inject = ['userFilter', 'showMenu'];

      function filtersUserCtrl(userFilter, showMenu) {
        var vm = this;

        vm.show = showMenu.showMenu;

        vm.clear = function() {
          userFilter.clear();
        }

        vm.save = function() {
          userFilter.save();
        }

      }
    })(angular);