renderResults = function (results) {
  return lodashMap(results, (result, index) => resultTemplate({
    index,
    color: renderColor(result.errorCount, result.warningCount),
    filePath: result.filePath,
    summary: renderSummary(result.errorCount, result.warningCount)

  }) + renderMessages(result.messages, index)).join('\n');
}
@param {Array} results Test results.
@returns {string} HTML string describing the results.