@@ -32,7 +32,7 @@ test("cli", (t) => {
32
32
child . stdout . on ( "data" , ( data ) => {
33
33
t . equal (
34
34
data . toString ( ) . replace ( stripAnsiColorRE , "" ) ,
35
- `INFO (probot): hello future\n`
35
+ `INFO (probot): hello future\n` ,
36
36
) ;
37
37
} ) ;
38
38
child . stdin . write ( logLine ) ;
@@ -47,12 +47,12 @@ test("cli", (t) => {
47
47
child . stdout . on ( "data" , ( data ) => {
48
48
t . match (
49
49
data . toString ( ) . replace ( stripAnsiColorRE , "" ) ,
50
- / e v e n t : " i n s t a l l a t i o n _ r e p o s i t o r i e s .a d d e d " /
50
+ / e v e n t : " i n s t a l l a t i o n _ r e p o s i t o r i e s .a d d e d " / ,
51
51
) ;
52
52
t . match ( data . toString ( ) . replace ( stripAnsiColorRE , "" ) , / s t a t u s : 5 0 0 / ) ;
53
53
t . match (
54
54
data . toString ( ) . replace ( stripAnsiColorRE , "" ) ,
55
- / x - g i t h u b - r e q u e s t - i d : " 7 8 9 " /
55
+ / x - g i t h u b - r e q u e s t - i d : " 7 8 9 " / ,
56
56
) ;
57
57
t . match (
58
58
data . toString ( ) ,
@@ -85,7 +85,7 @@ test("cli", (t) => {
85
85
child . stdout . on ( "data" , ( data ) => {
86
86
t . equal (
87
87
data . toString ( ) . replace ( stripAnsiColorRE , "" ) ,
88
- logLine . replace ( '"level":30' , '"level":"info"' )
88
+ logLine . replace ( '"level":30' , '"level":"info"' ) ,
89
89
) ;
90
90
} ) ;
91
91
child . stdin . write ( logLine ) ;
@@ -210,7 +210,7 @@ sentryEventId: 123`,
210
210
child . stdout . on ( "data" , ( data ) => {
211
211
t . match (
212
212
data . toString ( ) . replace ( stripAnsiColorRE , "" ) ,
213
- / ^ F A T A L \( p r o b o t \) : O h n o ! \n /
213
+ / ^ F A T A L \( p r o b o t \) : O h n o ! \n / ,
214
214
) ;
215
215
} ) ;
216
216
child . stdin . write ( fatalErrorLine ) ;
0 commit comments