src/index.js
function end () {
  var diff = new Date() - startTime

  log('\n\n')
  log('  ' + SYMBOLS.success + ' ' + (stats.success + ' passing ').green)
  log(('(' + diff + 'ms)').grey)

  if (stats.skipped) {
    log('\n  ' + SYMBOLS.skipped + ' ' + (stats.skipped + ' pending').cyan)
  }

  if (stats.failure) {
    log('\n  ' + SYMBOLS.failure + ' ' + (stats.failure + ' failing').red)

    // Log all accumulated errors
    log('\n\n')
    failures.forEach(logError)
  }

  log('\n\n')
}
function end () {
  var diff = new Date() - startTime

  log('\n\n')
  log('  ' + SYMBOLS.success + ' ' + (stats.success + ' passing ').green)
  log(('(' + diff + 'ms)').grey)

  if (stats.skipped) {
    log('\n  ' + SYMBOLS.skipped + ' ' + (stats.skipped + ' pending').cyan)
  }

  if (stats.failure) {
    log('\n  ' + SYMBOLS.failure + ' ' + (stats.failure + ' failing').red)

    // Log all accumulated errors
    log('\n\n')
    failures.forEach(logError)
  }

  log('\n\n')
}
function end ( ) { var diff = new Date ( ) - startTime log ( '\n\n' ) log ( '  ' + SYMBOLS . success + ' ' + ( stats . success + ' passing ' ) . green ) log ( ( '(' + diff + 'ms)' ) . grey ) if ( stats . skipped ) { log ( '\n  ' + SYMBOLS . skipped + ' ' + ( stats . skipped + ' pending' ) . cyan ) } if ( stats . failure ) { log ( '\n  ' + SYMBOLS . failure + ' ' + ( stats . failure + ' failing' ) . red ) // Log all accumulated errors log ( '\n\n' ) failures . forEach ( logError ) } log ( '\n\n' ) }
Function to call to report end results
Function to call to report end results