src/index.js
function result (type, error) {
  if (count % 40 === 0) {
    log('\n  ')
  }

  count++
  stats[type]++
  log(SYMBOLS[type] + ' ')

  if (type === 'failure') {
    failures.push(error)
  }
}
function result (type, error) {
  if (count % 40 === 0) {
    log('\n  ')
  }

  count++
  stats[type]++
  log(SYMBOLS[type] + ' ')

  if (type === 'failure') {
    failures.push(error)
  }
}
function result ( type , error ) { if ( count % 40 === 0 ) { log ( '\n  ' ) } count ++ stats [ type ] ++ log ( SYMBOLS [ type ] + ' ' ) if ( type === 'failure' ) { failures . push ( error ) } }
Function to call to report a single spec result
Function to call to report a single spec result