File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ async function main(argv) {
194
194
. then ( out => {
195
195
const [ output , nb_failures ] = out ;
196
196
results [ nb_failures === 0 ? "successful" : "failed" ] . push ( {
197
- file_name : file_name ,
197
+ file_name : testPath ,
198
198
output : output ,
199
199
} ) ;
200
200
if ( nb_failures > 0 ) {
@@ -206,7 +206,7 @@ async function main(argv) {
206
206
} )
207
207
. catch ( err => {
208
208
results . errored . push ( {
209
- file_name : file_name ,
209
+ file_name : testPath + file_name ,
210
210
output : err ,
211
211
} ) ;
212
212
status_bar . erroneous ( ) ;
@@ -239,15 +239,15 @@ async function main(argv) {
239
239
console . log ( "" ) ;
240
240
results . failed . sort ( by_filename ) ;
241
241
results . failed . forEach ( r => {
242
- console . log ( r . output ) ;
242
+ console . log ( r . file_name , r . output ) ;
243
243
} ) ;
244
244
}
245
245
if ( results . errored . length > 0 ) {
246
246
console . log ( os . EOL ) ;
247
247
// print run errors on the bottom so developers see them better
248
248
results . errored . sort ( by_filename ) ;
249
249
results . errored . forEach ( r => {
250
- console . error ( r . output ) ;
250
+ console . error ( r . file_name , r . output ) ;
251
251
} ) ;
252
252
}
253
253
You can’t perform that action at this time.
0 commit comments