@@ -249,6 +249,10 @@ export abstract class BaseReporter implements Reporter {
249249 return getTestName ( test , separator )
250250 }
251251
252+ protected getFullName ( test : Task , separator ?: string ) : string {
253+ return getFullName ( test , separator )
254+ }
255+
252256 protected formatShortError ( error : ErrorWithDiff ) : string {
253257 return `${ F_RIGHT } ${ error . message } `
254258 }
@@ -374,7 +378,7 @@ export abstract class BaseReporter implements Reporter {
374378 const task = log . taskId ? this . ctx . state . idMap . get ( log . taskId ) : undefined
375379
376380 if ( task ) {
377- headerText = getFullName ( task , c . dim ( ' > ' ) )
381+ headerText = this . getFullName ( task , c . dim ( ' > ' ) )
378382 }
379383 else if ( log . taskId && log . taskId !== '__vitest__unknown_test__' ) {
380384 headerText = log . taskId
@@ -579,7 +583,7 @@ export abstract class BaseReporter implements Reporter {
579583 continue
580584 }
581585
582- const groupName = getFullName ( group , c . dim ( ' > ' ) )
586+ const groupName = this . getFullName ( group , c . dim ( ' > ' ) )
583587 const project = this . ctx . projects . find ( p => p . name === bench . file . projectName )
584588
585589 this . log ( ` ${ formatProjectName ( project ) } ${ bench . name } ${ c . dim ( ` - ${ groupName } ` ) } ` )
@@ -636,7 +640,7 @@ export abstract class BaseReporter implements Reporter {
636640 const projectName = ( task as File ) ?. projectName || task . file ?. projectName || ''
637641 const project = this . ctx . projects . find ( p => p . name === projectName )
638642
639- let name = getFullName ( task , c . dim ( ' > ' ) )
643+ let name = this . getFullName ( task , c . dim ( ' > ' ) )
640644
641645 if ( filepath ) {
642646 name += c . dim ( ` [ ${ this . relative ( filepath ) } ]` )
0 commit comments