mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[junit] use default rootDirectory for project (#32256)
This commit is contained in:
parent
729fdfd654
commit
d58b663813
5 changed files with 0 additions and 5 deletions
|
@ -135,7 +135,6 @@ export const schema = Joi.object()
|
|||
.keys({
|
||||
enabled: Joi.boolean().default(!!process.env.CI),
|
||||
reportName: Joi.string(),
|
||||
rootDirectory: Joi.string(),
|
||||
})
|
||||
.default(),
|
||||
|
||||
|
|
|
@ -54,7 +54,6 @@ export function MochaReporterProvider({ getService }) {
|
|||
if (config.get('junit.enabled') && config.get('junit.reportName')) {
|
||||
setupJUnitReportGeneration(runner, {
|
||||
reportName: config.get('junit.reportName'),
|
||||
rootDirectory: config.get('junit.rootDirectory')
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,6 @@ export function createJestConfig({
|
|||
'default',
|
||||
[`${kibanaDirectory}/src/dev/jest/junit_reporter.js`, {
|
||||
reportName: 'X-Pack Jest Tests',
|
||||
rootDirectory: xPackKibanaDirectory,
|
||||
}]
|
||||
],
|
||||
};
|
||||
|
|
|
@ -14,7 +14,6 @@ const MOCHA_OPTIONS = {
|
|||
ui: 'bdd',
|
||||
reporter: createAutoJUnitReporter({
|
||||
reportName: 'X-Pack Mocha Tests',
|
||||
rootDirectory: __dirname,
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
|
@ -231,7 +231,6 @@ export default async function ({ readConfigFile }) {
|
|||
|
||||
junit: {
|
||||
reportName: 'X-Pack Functional Tests',
|
||||
rootDirectory: resolve(__dirname, '../../'),
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue