karma.conf-ci.js
function getFriendlyBrowser(browserName) {
  browserName = browserName || "";
  if (typeof browserName === "string" && browserName) {
    if (browserName === "MicrosoftEdge") {
      browserName = "edge";
    }
    if (browserName === "internet explorer") {
      browserName = "ie";
    }
    else if (browserName === "iphone") {
      browserName = "safari";
    }
    else if (browserName === "android") {
      browserName = "browser";
    }
  }
  return browserName;
}
function getFriendlyBrowser(browserName) {
  browserName = browserName || "";
  if (typeof browserName === "string" && browserName) {
    if (browserName === "MicrosoftEdge") {
      browserName = "edge";
    }
    if (browserName === "internet explorer") {
      browserName = "ie";
    }
    else if (browserName === "iphone") {
      browserName = "safari";
    }
    else if (browserName === "android") {
      browserName = "browser";
    }
  }
  return browserName;
}
function getFriendlyBrowser ( browserName ) { browserName = browserName || "" ; if ( typeof browserName === "string" && browserName ) { if ( browserName === "MicrosoftEdge" ) { browserName = "edge" ; } if ( browserName === "internet explorer" ) { browserName = "ie" ; } else if ( browserName === "iphone" ) { browserName = "safari" ; } else if ( browserName === "android" ) { browserName = "browser" ; } } return browserName ; }
UTILITY & GENERATION CODE
UTILITY & GENERATION CODE