@@ -25,29 +25,28 @@ function Dot(runner) {
25
25
var self = this
26
26
, stats = this . stats
27
27
, width = Base . window . width * .75 | 0
28
- , c = '․'
29
28
, n = 0 ;
30
29
31
30
runner . on ( 'start' , function ( ) {
32
31
process . stdout . write ( '\n ' ) ;
33
32
} ) ;
34
33
35
34
runner . on ( 'pending' , function ( test ) {
36
- process . stdout . write ( color ( 'pending' , c ) ) ;
35
+ process . stdout . write ( color ( 'pending' , Base . symbols . dot ) ) ;
37
36
} ) ;
38
37
39
38
runner . on ( 'pass' , function ( test ) {
40
39
if ( ++ n % width == 0 ) process . stdout . write ( '\n ' ) ;
41
40
if ( 'slow' == test . speed ) {
42
- process . stdout . write ( color ( 'bright yellow' , c ) ) ;
41
+ process . stdout . write ( color ( 'bright yellow' , Base . symbols . dot ) ) ;
43
42
} else {
44
- process . stdout . write ( color ( test . speed , c ) ) ;
43
+ process . stdout . write ( color ( test . speed , Base . symbols . dot ) ) ;
45
44
}
46
45
} ) ;
47
46
48
47
runner . on ( 'fail' , function ( test , err ) {
49
48
if ( ++ n % width == 0 ) process . stdout . write ( '\n ' ) ;
50
- process . stdout . write ( color ( 'fail' , c ) ) ;
49
+ process . stdout . write ( color ( 'fail' , Base . symbols . dot ) ) ;
51
50
} ) ;
52
51
53
52
runner . on ( 'end' , function ( ) {
0 commit comments