kibana/x-pack/test/licensing_plugin/config.legacy.ts
2020-05-22 09:08:58 +02:00

15 lines
555 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { FtrConfigProviderContext } from '@kbn/test/types/ftr';
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const commonConfig = await readConfigFile(require.resolve('./config'));
return {
...commonConfig.getAll(),
testFiles: [require.resolve('./legacy')],
};
}