blob: cfe572a6cbb9f6d3641d09ed9377e40538a80dd9 [file] [log] [blame]
require('colors')
function BaseColorReporter () {
this.USE_COLORS = true
this.LOG_SINGLE_BROWSER = '%s: ' + '%s'.cyan + '\n'
this.LOG_MULTI_BROWSER = '%s %s: ' + '%s'.cyan + '\n'
this.SPEC_FAILURE = '%s %s FAILED'.red + '\n'
this.SPEC_SLOW = '%s SLOW %s: %s'.yellow + '\n'
this.ERROR = '%s ERROR'.red + '\n'
this.FINISHED_ERROR = ' ERROR'.red
this.FINISHED_SUCCESS = ' SUCCESS'.green
this.FINISHED_DISCONNECTED = ' DISCONNECTED'.red
this.X_FAILED = ' (%d FAILED)'.red
this.TOTAL_SUCCESS = 'TOTAL: %d SUCCESS'.green + '\n'
this.TOTAL_FAILED = 'TOTAL: %d FAILED, %d SUCCESS'.red + '\n'
}
// PUBLISH
module.exports = BaseColorReporter