Skip to content

Commit

Permalink
write junit path because that report isn't getting found
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Jul 8, 2021
1 parent acae05d commit 7cecb13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/kbn-test/src/jest/junit_reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ export default class JestJUnitReporter extends BaseReporter {

const reportPath = getUniqueJunitReportPath(rootDirectory, reportName);
const reportXML = root.end();

process.stdout.write(`\nWriting Jest JUnit report to [${reportXML}]\n\n`);

mkdirSync(dirname(reportPath), { recursive: true });
writeFileSync(reportPath, reportXML, 'utf8');
}
Expand Down

0 comments on commit 7cecb13

Please sign in to comment.