import { resolve } from 'path' ; import { FtrConfigProviderContext } from '@kbn/test' ; export default async function ( { readConfigFile } ) { const baseConfig = await readConfigFile ( require . resolve ( './base_config' ) ) ; return { ... baseConfig . getAll ( ) , testFiles : [ resolve ( __dirname , './apps/enterprise_search/with_host_configured' ) ] , junit : { reportName : 'X-Pack Enterprise Search Functional Tests with Host Configured' , } , kbnTestServer : { ... baseConfig . get ( 'kbnTestServer' ) , serverArgs : [ ... baseConfig . get ( 'kbnTestServer.serverArgs' ) , '--enterpriseSearch.host=http://localhost:3002' , ] , } , } ; }