From 62fcfa14cb9e11b500ddbab78d7b2e808c138578 Mon Sep 17 00:00:00 2001 From: Timothy Sullivan Date: Tue, 10 Dec 2019 12:22:48 -0700 Subject: [PATCH] remove console.log --- x-pack/test/reporting/configs/chromium_api.js | 5 +---- x-pack/test/reporting/configs/chromium_functional.js | 5 +---- x-pack/test/reporting/configs/generate_api.js | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/x-pack/test/reporting/configs/chromium_api.js b/x-pack/test/reporting/configs/chromium_api.js index 9e62fcb8f1082..740ad4b8aaee5 100644 --- a/x-pack/test/reporting/configs/chromium_api.js +++ b/x-pack/test/reporting/configs/chromium_api.js @@ -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')], @@ -35,7 +35,4 @@ export default async function ({ readConfigFile }) { }, esTestCluster: apiConfig.get('esTestCluster'), }; - - console.log(JSON.stringify(config)); - return config; } diff --git a/x-pack/test/reporting/configs/chromium_functional.js b/x-pack/test/reporting/configs/chromium_functional.js index b755b20e63bf9..9d544125e7a5d 100644 --- a/x-pack/test/reporting/configs/chromium_functional.js +++ b/x-pack/test/reporting/configs/chromium_functional.js @@ -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'), @@ -35,7 +35,4 @@ export default async function ({ readConfigFile }) { ], }, }; - - console.log(JSON.stringify(config)); - return config; } diff --git a/x-pack/test/reporting/configs/generate_api.js b/x-pack/test/reporting/configs/generate_api.js index 3e4379c2e7f85..749bb08035ec5 100644 --- a/x-pack/test/reporting/configs/generate_api.js +++ b/x-pack/test/reporting/configs/generate_api.js @@ -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')], @@ -39,7 +39,4 @@ export default async function ({ readConfigFile }) { esArchiver: apiConfig.get('esArchiver'), esTestCluster: apiConfig.get('esTestCluster'), }; - - console.log(JSON.stringify(config)); - return config; }