Code coverage report for common/filters/uppercase.js

Statements: 100% (5 / 5)      Branches: 50% (1 / 2)      Functions: 100% (3 / 3)      Lines: 100% (5 / 5)      Ignored: none     

All files » common/filters/ » uppercase.js
1 2 3 4 5 6 7 8 9 10 11 12 131     1 1 1       1      
(function() {
  'use strict';
 
  function uppercase() {
    return function(text) {
      return text ? text.toUpperCase() : text;
    };
  }
 
  angular.module('common.filters.uppercase', [])
    .filter('uppercase', uppercase);
})();