Code coverage report for src\components\table-shipment\table-shipment.js

# all files / src/components/table-shipment/ table-shipment.js

57.14% Statements 4/7
100% Branches 0/0
50% Functions 1/2
57.14% Lines 4/7

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

    1×

    1×

    1×

     (function component(ng) {

      tableShipmentCtrl.$inject = ['shipmentsFactory'];

      ng.module('components')
        .component('exTableShipment', {
          templateUrl: './components/table-shipment/table-shipment.html',
          controller: tableShipmentCtrl,
          controllerAs: 'vm',
          bindings: {
          }
        });

      function tableShipmentCtrl(shipmentsFactory) {
        var vm = this;

        shipmentsFactory.init();

        vm.shipments = shipmentsFactory.shipments;

      }

    })(angular);