mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 22:15:18 -05:00
Hardcode xunit reporter output file into failed tests reporter
This commit is contained in:
@@ -46,6 +46,9 @@ class FailedTestsReporter extends Mocha.reporters.Base {
|
||||
}
|
||||
|
||||
const newOptions = Object.assign({}, options, { reporterOptions: reporterOptions.reporterOptions || {} });
|
||||
if (reporterOptions.reporter === "xunit") {
|
||||
newOptions.reporterOptions.output = "TEST-results.xml";
|
||||
}
|
||||
this.reporter = new reporter(runner, newOptions);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user