File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
typescript-sdk/apps/dojo/e2e Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11function getTimestamp ( ) {
2- ( process . env . CI || process . env . VERBOSE ) ? new Date ( ) . toISOString ( ) : '' ;
2+ return ( process . env . CI || process . env . VERBOSE )
3+ ? new Date ( ) . toLocaleTimeString ( 'en-US' , { hour12 : false } )
4+ : '' ;
35}
46
57function logStamp ( ...args ) {
@@ -23,9 +25,9 @@ class CleanReporter {
2325 . trim ( ) ;
2426
2527 if ( result . status === "passed" ) {
26- logStamp ( `${ getTimestamp ( ) } ✅ ${ cleanSuite } : ${ testName } ` ) ;
28+ logStamp ( `✅ ${ cleanSuite } : ${ testName } ` ) ;
2729 } else if ( result . status === "failed" ) {
28- logStamp ( `${ getTimestamp ( ) } ❌ ${ cleanSuite } : ${ testName } ` ) ;
30+ logStamp ( `❌ ${ cleanSuite } : ${ testName } ` ) ;
2931
3032 // Extract the most relevant error info
3133 const error = result . error || result . errors ?. [ 0 ] ;
You can’t perform that action at this time.
0 commit comments