Skip to content
This repository was archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
[junit] use default rootDirectory for project (elastic#32256)
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/functional_test_runner/lib/config/schema.ts
  • Loading branch information
Spencer committed Mar 1, 2019
1 parent ccad91f commit faef6f4
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/functional_test_runner/lib/config/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export const schema = Joi.object().keys({
junit: Joi.object().keys({
enabled: Joi.boolean().default(!!process.env.CI),
reportName: Joi.string(),
rootDirectory: Joi.string(),
}).default(),

mochaReporter: Joi.object().keys({
Expand Down
1 change: 0 additions & 1 deletion src/functional_test_runner/lib/mocha/reporter/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
});
}
}
Expand Down
1 change: 0 additions & 1 deletion x-pack/dev-tools/jest/create_jest_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export function createJestConfig({
"default",
[`${kibanaDirectory}/src/dev/jest/junit_reporter.js`, {
reportName: 'X-Pack Jest Tests',
rootDirectory: xPackKibanaDirectory,
}]
],
};
Expand Down
1 change: 0 additions & 1 deletion x-pack/tasks/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const MOCHA_OPTIONS = {
ui: 'bdd',
reporter: createAutoJUnitReporter({
reportName: 'X-Pack Mocha Tests',
rootDirectory: __dirname,
}),
};

Expand Down
1 change: 0 additions & 1 deletion x-pack/test/functional/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ export default async function ({ readConfigFile }) {

junit: {
reportName: 'X-Pack Functional Tests',
rootDirectory: resolve(__dirname, '../../'),
},
};
}

0 comments on commit faef6f4

Please sign in to comment.