code: function printFailureMessages(results) {
    if (!results.numTotalTests || !results.numFailedTests) {
      return;
    }
  
    console.log(color('bright fail', `  ${symbols.err} Failed Tests:`));
    console.log('\n');
  
    results.testResults.forEach(({failureMessage}) => {
      if (failureMessage) {
        console.log(failureMessage);
      }
    });
  
    process.stdout.write('\n');
  }
docs: Prints failure messsages for the reporters to be displayed