code: function(originalBaseURL) {
        if (!originalBaseURL) {
          return '/base/';
        } else if (originalBaseURL.indexOf('./') === 0) {
          return originalBaseURL.replace('./', '/base/');
        } else if (originalBaseURL.indexOf('/') !== 0) {
          return '/base/' + originalBaseURL;
        } else {
          return '/base' + originalBaseURL;
        }
      }
docs: Changes the 'baseURL' to include the '/base/' path that karma
  serves files from.
  @param originalBaseURL {string}
  @returns {string}