File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed
packages/jest-reporters/src Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -106,22 +106,20 @@ export default class SummaryReporter extends BaseReporter {
106106 this . _globalConfig ,
107107 ) ;
108108
109- if ( numTotalTestSuites ) {
110- let message = getSummary ( aggregatedResults , {
111- estimatedTime : this . _estimatedTime ,
112- seed : this . _globalConfig . seed ,
113- showSeed : this . _globalConfig . showSeed ,
114- } ) ;
115-
116- if ( ! this . _globalConfig . silent ) {
117- message += `\n${
118- wasInterrupted
119- ? chalk . bold . red ( 'Test run was interrupted.' )
120- : this . _getTestSummary ( testContexts , this . _globalConfig )
121- } `;
122- }
123- this . log ( message ) ;
109+ let message = getSummary ( aggregatedResults , {
110+ estimatedTime : this . _estimatedTime ,
111+ seed : this . _globalConfig . seed ,
112+ showSeed : this . _globalConfig . showSeed ,
113+ } ) ;
114+
115+ if ( ! this . _globalConfig . silent ) {
116+ message += `\n${
117+ wasInterrupted
118+ ? chalk . bold . red ( 'Test run was interrupted.' )
119+ : this . _getTestSummary ( testContexts , this . _globalConfig )
120+ } `;
124121 }
122+ this . log ( message ) ;
125123 }
126124 }
127125
You can’t perform that action at this time.
0 commit comments