Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Dec 10, 2019
1 parent 5e8e74e commit 62fcfa1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
5 changes: 1 addition & 4 deletions x-pack/test/reporting/configs/chromium_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default async function ({ readConfigFile }) {
const apiConfig = await readConfigFile(require.resolve('../../api_integration/config.js'));
const functionalConfig = await readConfigFile(require.resolve('../../functional/config.js'));

const config = {
return {
servers: apiConfig.get('servers'),
junit: { reportName: 'X-Pack Chromium API Reporting Tests' },
testFiles: [require.resolve('../api/chromium_tests')],
Expand All @@ -35,7 +35,4 @@ export default async function ({ readConfigFile }) {
},
esTestCluster: apiConfig.get('esTestCluster'),
};

console.log(JSON.stringify(config));
return config;
}
5 changes: 1 addition & 4 deletions x-pack/test/reporting/configs/chromium_functional.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as path from 'path';
export default async function ({ readConfigFile }) {
const functionalConfig = await readConfigFile(require.resolve('../../functional/config.js'));

const config = {
return {
services: functionalConfig.get('services'),
pageObjects: functionalConfig.get('pageObjects'),
servers: functionalConfig.get('servers'),
Expand All @@ -35,7 +35,4 @@ export default async function ({ readConfigFile }) {
],
},
};

console.log(JSON.stringify(config));
return config;
}
5 changes: 1 addition & 4 deletions x-pack/test/reporting/configs/generate_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { ReportingAPIProvider } from '../services';
export default async function ({ readConfigFile }) {
const apiConfig = await readConfigFile(require.resolve('../../api_integration/config.js'));

const config = {
return {
servers: apiConfig.get('servers'),
junit: { reportName: 'X-Pack Reporting Generate API Integration Tests' },
testFiles: [require.resolve('../api/generate')],
Expand Down Expand Up @@ -39,7 +39,4 @@ export default async function ({ readConfigFile }) {
esArchiver: apiConfig.get('esArchiver'),
esTestCluster: apiConfig.get('esTestCluster'),
};

console.log(JSON.stringify(config));
return config;
}

0 comments on commit 62fcfa1

Please sign in to comment.