File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/core/src/reporter Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import { relative } from 'pathe' ;
22import { parse as stackTraceParse } from 'stacktrace-parser' ;
3- import { isCI } from 'std-env' ;
43import type {
54 DefaultReporterOptions ,
65 Duration ,
@@ -13,7 +12,7 @@ import type {
1312 TestResult ,
1413 UserConsoleLog ,
1514} from '../types' ;
16- import { color , logger } from '../utils' ;
15+ import { color , isTTY , logger } from '../utils' ;
1716import { StatusRenderer } from './statusRenderer' ;
1817import { printSummaryErrorLogs , printSummaryLog } from './summary' ;
1918import { logCase , logFileTitle } from './utils' ;
@@ -36,7 +35,7 @@ export class DefaultReporter implements Reporter {
3635 this . rootPath = rootPath ;
3736 this . config = config ;
3837 this . options = options ;
39- if ( ! isCI ) {
38+ if ( isTTY ( ) ) {
4039 this . statusRenderer = new StatusRenderer ( rootPath ) ;
4140 }
4241 }
You can’t perform that action at this time.
0 commit comments