Code coverage report for src\components\table-lo\filter-lo.js

# all files / src/components/table-lo/ filter-lo.js

42.86% Statements 3/7
0% Branches 0/2
33.33% Functions 1/3
42.86% Lines 3/7

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    161×
    1×

    1×

     (function component(ng) {
      ng.module('components')
        .filter('transportaition', transportaitionFilter);

        function transportaitionFilter() {
            return function(input, type, arg) {
                if (type === arg) {
                    return input;
                } else {
                    return '';
                }
            }
        }
    })(angular);