text: const markAsPositive = str => `${str} 🟢`;
  const markAsNegative = str => `${str} 🔴`;
  const withWarningIcon = (str, prependText = true) => {
    const icon = ':warning:';
  
    return prependText
      ? `${icon} ${str}`
      : `${str} ${icon}`;
  };
  
  const decorateByImpact = (str, diff, isDecreaseGood = true) => {
    if (!diff) {
      return str;
    }
  
    if (diff < 0) {
      return isDecreaseGood
        ? markAsPositive(str)
        : markAsNegative(str);
    }
  
    return isDecreaseGood
      ? markAsNegative(str)
      : markAsPositive(str);
  };
  
  const getNonBreakingSpaces = n => Array(n).fill('&nbsp;').join('');
  
  module.exports = { decorateByImpact, withWarningIcon, getNonBreakingSpaces };
  