Skip to content

Commit 7cad560

Browse files
committed
update reporter
1 parent 74eda4b commit 7cad560

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

e2e/config/reporter.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,19 @@ class MyReporter implements Reporter {
8787
const reportPath = path.join( folderPath, 'errors.md' )
8888
let reportContent = ''
8989

90-
const testIdsPath = path.join( folderPath, 'testIds.json' )
90+
const testIdsPath = path.join( folderPath, 'testIds.txt' )
9191
let testIdsContent = ''
9292

93-
const traceFilesPath = path.join( folderPath, 'traceFiles.json' )
93+
const traceFilesPath = path.join( folderPath, 'traceFiles.txt' )
9494
let traceFilesContent = ''
9595
if ( this.testResults.length ) {
9696
reportContent += `## Failed Tests
9797
9898
${ this.testResults.join( '' ) }`
9999

100100
reportContent = this.stripAnsiEscapes( reportContent )
101-
testIdsContent = JSON.stringify( this.testIds, null, 2 )
102-
traceFilesContent = JSON.stringify( this.traceFiles, null, 2 )
101+
testIdsContent = JSON.stringify( this.testIds )
102+
traceFilesContent = JSON.stringify( this.traceFiles )
103103
}
104104

105105
fs.writeFileSync( reportPath, reportContent )

0 commit comments

Comments
 (0)