blob: d25abbc56dbf940010f919608ea3bcd3493367db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
require('colors')
var BaseColorReporter = function () {
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
|